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.0007576/0.0007612, allocations: 91.69 kB / 15.06 MB, free: 1.098 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.0008193/0.0008193, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.344/1.344, allocations: 223.2 MB / 240 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7943/0.7943, allocations: 132.3 MB / 423.4 MB, free: 2.074 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003192/0.0003193, allocations: 15.94 kB / 0.5035 GB, free: 4.129 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4196/0.4199, allocations: 81.57 MB / 0.5831 GB, free: 3.969 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothHeaviside): time 0.001674/0.4216, allocations: 1.145 MB / 0.5843 GB, free: 3.133 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007068/0.4224, allocations: 449.8 kB / 0.5847 GB, free: 2.82 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.895e-05/0.4224, allocations: 1.25 kB / 0.5847 GB, free: 2.82 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.448e-05/0.4224, allocations: 4.5 kB / 0.5847 GB, free: 2.816 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 6.387e-05/0.4225, allocations: 6.188 kB / 0.5847 GB, free: 2.812 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001774/0.4227, allocations: 20.92 kB / 0.5847 GB, free: 2.801 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 7.583e-05/0.4228, allocations: 23.55 kB / 0.5847 GB, free: 2.789 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.347e-05/0.4229, allocations: 4.484 kB / 0.5848 GB, free: 2.789 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.918e-05/0.4229, allocations: 12.91 kB / 0.5848 GB, free: 2.781 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.93e-05/0.423, allocations: 13.58 kB / 0.5848 GB, free: 2.773 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.121e-05/0.423, allocations: 0.9375 kB / 0.5848 GB, free: 2.773 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.516e-05/0.4231, allocations: 22.05 kB / 0.5848 GB, free: 2.766 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 9.478e-06/0.4231, allocations: 1.219 kB / 0.5848 GB, free: 2.766 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 1.813e-05/0.4231, allocations: 31.67 kB / 0.5848 GB, free: 2.73 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 7.152e-05/0.4232, allocations: 22.53 kB / 0.5849 GB, free: 2.723 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.4232, allocations: 1.062 kB / 0.5849 GB, free: 2.723 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.4232, allocations: 0 / 0.5849 GB, free: 2.723 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.737e-06/0.4232, allocations: 0 / 0.5849 GB, free: 2.723 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.000369/0.4236, allocations: 346.8 kB / 0.5852 GB, free: 2.363 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.342e-05/0.4236, allocations: 9.484 kB / 0.5852 GB, free: 2.363 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.686e-05/0.4237, allocations: 31.5 kB / 0.5852 GB, free: 2.324 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.502e-05/0.4237, allocations: 6.656 kB / 0.5852 GB, free: 2.32 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.995e-05/0.4238, allocations: 173 kB / 0.5854 GB, free: 2.113 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.27e-05/0.4238, allocations: 1 kB / 0.5854 GB, free: 2.113 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.155e-05/0.4239, allocations: 1.188 kB / 0.5854 GB, free: 2.113 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001851/0.424, allocations: 58.17 kB / 0.5855 GB, free: 2.074 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.046e-06/0.4241, allocations: 0 / 0.5855 GB, free: 2.074 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.425e-06/0.4241, allocations: 1.281 kB / 0.5855 GB, free: 2.074 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.4241, allocations: 0 / 0.5855 GB, free: 2.074 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001815/0.4243, allocations: 51.05 kB / 0.5855 GB, free: 2.062 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002967/0.4246, allocations: 252.5 kB / 0.5857 GB, free: 1.785 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001248/0.4247, allocations: 41.16 kB / 0.5858 GB, free: 1.758 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.482e-05/0.4248, allocations: 28.33 kB / 0.5858 GB, free: 1.746 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001009/0.4249, allocations: 82.48 kB / 0.5859 GB, free: 1.652 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.925e-05/0.4249, allocations: 32.23 kB / 0.5859 GB, free: 1.613 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 1.733e-06/0.425, allocations: 0 / 0.5859 GB, free: 1.613 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003447/0.4253, allocations: 103.2 kB / 0.586 GB, free: 1.566 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.478e-05/0.4253, allocations: 61.12 kB / 0.5861 GB, free: 1.496 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.391e-05/0.4254, allocations: 102.2 kB / 0.5862 GB, free: 1.395 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.603e-06/0.4254, allocations: 25.7 kB / 0.5862 GB, free: 1.363 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.768e-05/0.4254, allocations: 89.75 kB / 0.5863 GB, free: 1.273 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.458e-05/0.4255, allocations: 5.281 kB / 0.5863 GB, free: 1.27 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.465e-06/0.4255, allocations: 1.344 kB / 0.5863 GB, free: 1.27 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.552e-05/0.4255, allocations: 312.6 kB / 0.5866 GB, free: 0.957 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.95e-05/0.4256, allocations: 22.88 kB / 0.5866 GB, free: 0.9531 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.191e-05/0.4257, allocations: 23.56 kB / 0.5866 GB, free: 0.9492 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.543e-05/0.4258, allocations: 23.06 kB / 0.5867 GB, free: 0.9453 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.4258, allocations: 5.062 kB / 0.5867 GB, free: 0.9414 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001827/0.426, allocations: 80.75 kB / 0.5867 GB, free: 0.8984 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.426, allocations: 4.594 kB / 0.5867 GB, free: 0.8984 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.628e-06/0.426, allocations: 1.359 kB / 0.5867 GB, free: 0.8984 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.426, allocations: 0 / 0.5867 GB, free: 0.8984 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.993e-05/0.4261, allocations: 11.62 kB / 0.5868 GB, free: 0.8984 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.4261, allocations: 4.609 kB / 0.5868 GB, free: 0.8945 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.841e-05/0.4262, allocations: 13.44 kB / 0.5868 GB, free: 0.8906 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.398e-06/0.4262, allocations: 0 / 0.5868 GB, free: 0.8906 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.187e-05/0.4262, allocations: 113.8 kB / 0.5869 GB, free: 0.7734 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.397e-05/0.4263, allocations: 6.312 kB / 0.5869 GB, free: 0.7695 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002274/0.4265, allocations: 89.16 kB / 0.587 GB, free: 0.7188 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.4265, allocations: 1.609 kB / 0.587 GB, free: 0.7188 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.4265, allocations: 4 kB / 0.587 GB, free: 0.7148 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.4265, allocations: 4.703 kB / 0.587 GB, free: 0.7109 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001205/0.4267, allocations: 156.8 kB / 0.5871 GB, free: 0.5195 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.4267, allocations: 0 / 0.5871 GB, free: 0.5195 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.738e-05/0.4267, allocations: 11.64 kB / 0.5871 GB, free: 0.5195 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.878e-06/0.4267, allocations: 1.906 kB / 0.5871 GB, free: 0.5195 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.871e-06/0.4268, allocations: 0 / 0.5871 GB, free: 0.5195 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.4268, allocations: 4.844 kB / 0.5871 GB, free: 0.5156 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.4268, allocations: 0 / 0.5871 GB, free: 0.5156 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002132/0.427, allocations: 173.9 kB / 0.5873 GB, free: 384 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.02e-05/0.427, allocations: 82.97 kB / 0.5874 GB, free: 284 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.183e-05/0.427, allocations: 3.938 kB / 0.5874 GB, free: 280 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.1e-05/0.4271, allocations: 12.33 kB / 0.5874 GB, free: 276 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.448e-05/0.4272, allocations: 3.281 kB / 0.5874 GB, free: 276 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.888e-06/0.4272, allocations: 1 kB / 0.5874 GB, free: 276 kB / 430.1 MB Notification: Performance of sorting global known variables: time 3.243e-05/0.4272, allocations: 85.16 kB / 0.5875 GB, free: 196 kB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4272, allocations: 0 / 0.5875 GB, free: 196 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002128/0.4274, allocations: 5.906 kB / 0.5875 GB, free: 196 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.0005594/0.428, allocations: 0.7173 MB / 0.5882 GB, free: 15.51 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002047/0.4282, allocations: 48.67 kB / 0.5882 GB, free: 15.5 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.4282, allocations: 0 / 0.5882 GB, free: 15.5 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 9.214e-05/0.4283, allocations: 30.33 kB / 0.5883 GB, free: 15.5 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002849/0.4286, allocations: 13.7 kB / 0.5883 GB, free: 15.49 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003963/0.429, allocations: 144.9 kB / 0.5884 GB, free: 15.33 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002423/0.4293, allocations: 0.6763 MB / 0.5891 GB, free: 14.63 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.577e-05/0.4293, allocations: 1.688 kB / 0.5891 GB, free: 14.63 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.699e-05/0.4293, allocations: 13.77 kB / 0.5891 GB, free: 14.62 MB / 446.1 MB Notification: Performance of SimCode: time 2.51e-07/0.4293, allocations: 0 / 0.5891 GB, free: 14.62 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01102/0.4404, allocations: 1.147 MB / 0.5902 GB, free: 14.47 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001801/0.4406, allocations: 178.4 kB / 0.5904 GB, free: 14.23 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.688/2.129, allocations: 1.406 kB / 0.5904 GB, free: 14.23 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: