Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside.conf.json 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/IBPSA 4.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.SmoothHeaviside,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothHeaviside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.SmoothHeaviside,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothHeaviside",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009278/0.0009279, allocations: 179.8 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4663/0.4663, allocations: 90.82 MB / 104.5 MB, free: 9.785 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.263/1.263, allocations: 221.3 MB / 348.3 MB, free: 468 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008006/0.0008006, allocations: 100.1 kB / 421.2 MB, free: 5.48 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.552e-05/3.59e-05, allocations: 4 kB / 0.4897 GB, free: 5.281 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3375/0.3376, allocations: 72.3 MB / 0.5603 GB, free: 40.46 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1158/0.4534, allocations: 101.9 MB / 0.6598 GB, free: 2.457 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001853/0.4536, allocations: 75.95 kB / 0.6599 GB, free: 2.383 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002947/0.4566, allocations: 1.115 MB / 0.661 GB, free: 1.281 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.323e-06/0.4566, allocations: 0 / 0.661 GB, free: 1.281 MB / 474.7 MB Notification: Performance of Transformations before backend: time 5.641e-06/0.4566, allocations: 0 / 0.661 GB, free: 1.281 MB / 474.7 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.0003468/0.457, allocations: 350.4 kB / 0.6613 GB, free: 0.8945 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.907e-05/0.4571, allocations: 15.92 kB / 0.6613 GB, free: 0.8789 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.707e-05/0.4571, allocations: 30.56 kB / 0.6613 GB, free: 0.8398 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.856e-05/0.4571, allocations: 7.953 kB / 0.6613 GB, free: 0.832 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001459/0.4573, allocations: 163 kB / 0.6615 GB, free: 0.6328 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.614e-05/0.4573, allocations: 4 kB / 0.6615 GB, free: 0.6289 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.376e-05/0.4573, allocations: 4 kB / 0.6615 GB, free: 0.625 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001207/0.4575, allocations: 41.69 kB / 0.6615 GB, free: 0.5781 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.4575, allocations: 0 / 0.6615 GB, free: 0.5781 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.07e-05/0.4575, allocations: 0 / 0.6615 GB, free: 0.5781 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.4575, allocations: 0 / 0.6615 GB, free: 0.5781 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.708e-05/0.4576, allocations: 15.95 kB / 0.6616 GB, free: 0.5625 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004469/0.458, allocations: 264.9 kB / 0.6618 GB, free: 260 kB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.019e-05/0.4581, allocations: 34.52 kB / 0.6618 GB, free: 216 kB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.841e-05/0.4582, allocations: 8.922 kB / 0.6619 GB, free: 204 kB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001392/0.4583, allocations: 89.09 kB / 0.6619 GB, free: 96 kB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.446e-05/0.4583, allocations: 30.56 kB / 0.662 GB, free: 56 kB / 474.7 MB Notification: Performance of pre-optimization done (n=2): time 1.793e-06/0.4583, allocations: 0 / 0.662 GB, free: 56 kB / 474.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001726/0.4585, allocations: 46.88 kB / 0.662 GB, free: 4 kB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.427e-05/0.4586, allocations: 63.38 kB / 0.6621 GB, free: 15.93 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.846e-05/0.4587, allocations: 96.98 kB / 0.6622 GB, free: 15.83 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.616e-05/0.4587, allocations: 25.7 kB / 0.6622 GB, free: 15.8 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.927e-05/0.4588, allocations: 80.14 kB / 0.6623 GB, free: 15.71 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.563e-05/0.4588, allocations: 11.84 kB / 0.6623 GB, free: 15.7 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.657e-06/0.4588, allocations: 0 / 0.6623 GB, free: 15.7 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001192/0.4589, allocations: 314.8 kB / 0.6626 GB, free: 15.39 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.869e-05/0.459, allocations: 4 kB / 0.6626 GB, free: 15.38 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.895e-05/0.459, allocations: 12 kB / 0.6626 GB, free: 15.37 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.845e-05/0.459, allocations: 0 / 0.6626 GB, free: 15.37 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.459, allocations: 4 kB / 0.6626 GB, free: 15.37 MB / 490.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.302e-05/0.4591, allocations: 41.69 kB / 0.6626 GB, free: 15.32 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.4591, allocations: 8 kB / 0.6626 GB, free: 15.31 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.4591, allocations: 1.219 kB / 0.6626 GB, free: 15.31 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.4592, allocations: 0 / 0.6626 GB, free: 15.31 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.462e-05/0.4593, allocations: 15.94 kB / 0.6627 GB, free: 15.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.062e-05/0.4593, allocations: 4.031 kB / 0.6627 GB, free: 15.29 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.071e-05/0.4593, allocations: 15.94 kB / 0.6627 GB, free: 15.28 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.064e-06/0.4593, allocations: 3.984 kB / 0.6627 GB, free: 15.27 MB / 490.7 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 () * 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 5.524e-05/0.4594, allocations: 101 kB / 0.6628 GB, free: 15.17 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.476e-05/0.4594, allocations: 4.25 kB / 0.6628 GB, free: 15.16 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000112/0.4596, allocations: 52.81 kB / 0.6628 GB, free: 15.11 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.4596, allocations: 0 / 0.6628 GB, free: 15.11 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.4596, allocations: 3.953 kB / 0.6628 GB, free: 15.1 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-06/0.4596, allocations: 4.031 kB / 0.6628 GB, free: 15.1 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001409/0.4597, allocations: 153.7 kB / 0.663 GB, free: 14.9 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.4597, allocations: 6.625 kB / 0.663 GB, free: 14.89 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.225e-05/0.4598, allocations: 11.98 kB / 0.663 GB, free: 14.88 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.4598, allocations: 3.984 kB / 0.663 GB, free: 14.88 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.104e-06/0.4598, allocations: 0 / 0.663 GB, free: 14.88 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.4598, allocations: 0 / 0.663 GB, free: 14.88 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.4598, allocations: 3.938 kB / 0.663 GB, free: 14.88 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001131/0.46, allocations: 151.4 kB / 0.6632 GB, free: 14.71 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.609e-05/0.46, allocations: 77.11 kB / 0.6632 GB, free: 14.62 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.29e-05/0.46, allocations: 4 kB / 0.6632 GB, free: 14.61 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.116e-05/0.4601, allocations: 7.984 kB / 0.6632 GB, free: 14.61 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.313e-05/0.4602, allocations: 0 / 0.6632 GB, free: 14.61 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.651e-06/0.4602, allocations: 4 kB / 0.6632 GB, free: 14.6 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.709e-05/0.4602, allocations: 83.31 kB / 0.6633 GB, free: 14.52 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4602, allocations: 4 kB / 0.6633 GB, free: 14.52 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001977/0.4604, allocations: 11.94 kB / 0.6633 GB, free: 14.5 MB / 490.7 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 () * 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.0003775/0.4608, allocations: 0.6773 MB / 0.664 GB, free: 13.8 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 7.378e-05/0.4609, allocations: 12 kB / 0.664 GB, free: 13.79 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.4609, allocations: 4.094 kB / 0.664 GB, free: 13.78 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 2.248e-05/0.4609, allocations: 8 kB / 0.664 GB, free: 13.77 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001589/0.4611, allocations: 4 kB / 0.664 GB, free: 13.77 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003037/0.4614, allocations: 102.4 kB / 0.6641 GB, free: 13.63 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002042/0.4616, allocations: 0.6809 MB / 0.6648 GB, free: 12.93 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 2.323e-05/0.4616, allocations: 0 / 0.6648 GB, free: 12.93 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.939e-05/0.4617, allocations: 11.48 kB / 0.6648 GB, free: 12.91 MB / 490.7 MB Notification: Performance of SimCode: time 3.8e-07/0.4617, allocations: 4.844 kB / 0.6648 GB, free: 12.91 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01122/0.4729, allocations: 1.142 MB / 0.6659 GB, free: 11.92 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001834/0.4731, allocations: 146.7 kB / 0.6661 GB, free: 11.7 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.336/1.809, allocations: 4 kB / 0.6661 GB, free: 11.7 MB / 490.7 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothHeaviside_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothHeaviside.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1)