Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Examples.SmoothHeaviside.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.SmoothHeaviside,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_SmoothHeaviside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.SmoothHeaviside,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_SmoothHeaviside",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00142/0.00142, allocations: 99.62 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00176/0.001761, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.08/2.08, allocations: 223.2 MB / 239.9 MB, free: 5.461 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.183/1.183, allocations: 132.2 MB / 423.2 MB, free: 2.23 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004317/0.0004321, allocations: 8.562 kB / 0.5033 GB, free: 4.254 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7656/0.7661, allocations: 81.57 MB / 0.583 GB, free: 4.043 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothHeaviside): time 0.001925/0.7681, allocations: 1.146 MB / 0.5841 GB, free: 3.207 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008527/0.769, allocations: 443.5 kB / 0.5845 GB, free: 2.902 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.276e-05/0.769, allocations: 0 / 0.5845 GB, free: 2.902 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.669e-05/0.769, allocations: 1.578 kB / 0.5845 GB, free: 2.902 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 8.48e-05/0.7691, allocations: 15.12 kB / 0.5845 GB, free: 2.891 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002129/0.7693, allocations: 14.23 kB / 0.5845 GB, free: 2.887 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 6.686e-05/0.7694, allocations: 15.08 kB / 0.5845 GB, free: 2.879 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.706e-05/0.7695, allocations: 5.141 kB / 0.5846 GB, free: 2.879 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.729e-05/0.7696, allocations: 12.09 kB / 0.5846 GB, free: 2.871 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.575e-05/0.7697, allocations: 6.391 kB / 0.5846 GB, free: 2.871 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.38e-05/0.7697, allocations: 5.266 kB / 0.5846 GB, free: 2.867 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.131e-05/0.7698, allocations: 18.02 kB / 0.5846 GB, free: 2.863 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.265e-05/0.7698, allocations: 6.188 kB / 0.5846 GB, free: 2.859 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.601e-05/0.7698, allocations: 33.48 kB / 0.5846 GB, free: 2.824 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 9.181e-05/0.7699, allocations: 18.33 kB / 0.5846 GB, free: 2.82 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.7699, allocations: 1.219 kB / 0.5846 GB, free: 2.82 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.975e-06/0.77, allocations: 0 / 0.5846 GB, free: 2.82 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.679e-06/0.77, allocations: 0 / 0.5846 GB, free: 2.82 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004352/0.7704, allocations: 350.8 kB / 0.585 GB, free: 2.457 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.904e-05/0.7705, allocations: 8.781 kB / 0.585 GB, free: 2.457 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.96e-05/0.7705, allocations: 32.72 kB / 0.585 GB, free: 2.418 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.478e-05/0.7705, allocations: 1.344 kB / 0.585 GB, free: 2.418 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001001/0.7706, allocations: 173.4 kB / 0.5852 GB, free: 2.211 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.281e-05/0.7707, allocations: 0.9688 kB / 0.5852 GB, free: 2.211 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.718e-06/0.7707, allocations: 5.031 kB / 0.5852 GB, free: 2.207 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002138/0.7709, allocations: 65.88 kB / 0.5853 GB, free: 2.16 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.7709, allocations: 0 / 0.5853 GB, free: 2.16 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.287e-05/0.7709, allocations: 1.703 kB / 0.5853 GB, free: 2.16 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.7709, allocations: 0 / 0.5853 GB, free: 2.16 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002136/0.7712, allocations: 46.89 kB / 0.5853 GB, free: 2.152 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003265/0.7715, allocations: 255.4 kB / 0.5855 GB, free: 1.871 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001444/0.7716, allocations: 42.7 kB / 0.5856 GB, free: 1.844 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001205/0.7718, allocations: 81.94 kB / 0.5857 GB, free: 1.75 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.188e-05/0.7718, allocations: 39.5 kB / 0.5857 GB, free: 1.703 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 1.382e-06/0.7718, allocations: 0 / 0.5857 GB, free: 1.703 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.000408/0.7722, allocations: 99.84 kB / 0.5858 GB, free: 1.66 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.623e-05/0.7723, allocations: 51.92 kB / 0.5858 GB, free: 1.598 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.225e-05/0.7723, allocations: 106.5 kB / 0.586 GB, free: 1.492 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.033e-05/0.7724, allocations: 26.67 kB / 0.586 GB, free: 1.461 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.733e-05/0.7724, allocations: 82.05 kB / 0.5861 GB, free: 1.379 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.977e-05/0.7724, allocations: 9.484 kB / 0.5861 GB, free: 1.371 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.687e-06/0.7724, allocations: 0 / 0.5861 GB, free: 1.371 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.438e-05/0.7725, allocations: 313.1 kB / 0.5864 GB, free: 1.059 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.502e-05/0.7726, allocations: 26.7 kB / 0.5864 GB, free: 1.051 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001024/0.7727, allocations: 23.89 kB / 0.5864 GB, free: 1.047 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001002/0.7728, allocations: 26.81 kB / 0.5864 GB, free: 1.039 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.7729, allocations: 0 / 0.5864 GB, free: 1.039 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002227/0.7731, allocations: 73.59 kB / 0.5865 GB, free: 1.004 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.927e-05/0.7731, allocations: 5.5 kB / 0.5865 GB, free: 1.004 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.7731, allocations: 0.7188 kB / 0.5865 GB, free: 1.004 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/0.7731, allocations: 4.031 kB / 0.5865 GB, free: 1 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.779e-05/0.7732, allocations: 11.41 kB / 0.5865 GB, free: 1 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.026e-05/0.7733, allocations: 6.047 kB / 0.5865 GB, free: 0.9961 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.361e-05/0.7733, allocations: 11.56 kB / 0.5865 GB, free: 0.9922 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.791e-06/0.7733, allocations: 5.672 kB / 0.5865 GB, free: 0.9883 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.761e-05/0.7734, allocations: 108.2 kB / 0.5867 GB, free: 0.875 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.618e-05/0.7734, allocations: 12.88 kB / 0.5867 GB, free: 0.8633 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002923/0.7737, allocations: 82.86 kB / 0.5867 GB, free: 0.8203 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.7738, allocations: 3.984 kB / 0.5867 GB, free: 0.8164 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.7738, allocations: 0.75 kB / 0.5867 GB, free: 0.8164 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.7738, allocations: 0 / 0.5867 GB, free: 0.8164 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001584/0.7739, allocations: 164.8 kB / 0.5869 GB, free: 0.6172 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.7739, allocations: 0 / 0.5869 GB, free: 0.6172 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.159e-05/0.774, allocations: 12.33 kB / 0.5869 GB, free: 0.6172 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.053e-06/0.774, allocations: 0 / 0.5869 GB, free: 0.6172 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.578e-06/0.774, allocations: 1.422 kB / 0.5869 GB, free: 0.6172 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.7741, allocations: 3.938 kB / 0.5869 GB, free: 0.6133 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.7741, allocations: 0.9062 kB / 0.5869 GB, free: 0.6133 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002766/0.7743, allocations: 181.4 kB / 0.5871 GB, free: 476 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.308e-05/0.7744, allocations: 78.66 kB / 0.5872 GB, free: 380 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.765e-05/0.7744, allocations: 4.812 kB / 0.5872 GB, free: 376 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001567/0.7746, allocations: 8.391 kB / 0.5872 GB, free: 376 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.194e-05/0.7746, allocations: 11.53 kB / 0.5872 GB, free: 368 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.158e-06/0.7747, allocations: 0.7812 kB / 0.5872 GB, free: 368 kB / 430.1 MB Notification: Performance of sorting global known variables: time 3.293e-05/0.7747, allocations: 81.02 kB / 0.5873 GB, free: 292 kB / 430.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.7747, allocations: 0 / 0.5873 GB, free: 292 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002359/0.7749, allocations: 5.5 kB / 0.5873 GB, free: 292 kB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006326/0.7756, allocations: 0.7133 MB / 0.588 GB, free: 15.61 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002701/0.7759, allocations: 58.09 kB / 0.588 GB, free: 15.59 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.7759, allocations: 0 / 0.588 GB, free: 15.59 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001076/0.776, allocations: 21 kB / 0.588 GB, free: 15.59 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002367/0.7762, allocations: 10.11 kB / 0.5881 GB, free: 15.59 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004996/0.7767, allocations: 148.2 kB / 0.5882 GB, free: 15.43 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003293/0.7771, allocations: 0.6796 MB / 0.5889 GB, free: 14.73 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.881e-05/0.7771, allocations: 2 kB / 0.5889 GB, free: 14.73 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.345e-05/0.7772, allocations: 9.422 kB / 0.5889 GB, free: 14.72 MB / 446.1 MB Notification: Performance of SimCode: time 3.81e-07/0.7772, allocations: 0 / 0.5889 GB, free: 14.72 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01717/0.7943, allocations: 1.13 MB / 0.59 GB, free: 14.58 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002951/0.7947, allocations: 165.1 kB / 0.5901 GB, free: 14.35 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.81/3.605, allocations: 0.5625 kB / 0.5901 GB, free: 14.35 MB / 446.1 MB (rm -f IDEAS_IDEAS.Utilities.Math.Examples.SmoothHeaviside.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.SmoothHeaviside.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.SmoothHeaviside.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.SmoothHeaviside.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Examples_SmoothHeaviside_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Examples_SmoothHeaviside.fmu > IDEAS_IDEAS.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1) Environment - environmentSimulation: