Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/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(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_SmoothHeaviside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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.0008408/0.0008405, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0008714/0.0008714, allocations: 168.7 kB / 15.95 MB, free: 204 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.348/1.348, allocations: 223.3 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.014/1.014, allocations: 143.4 MB / 434.4 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003255/0.0003256, allocations: 8 kB / 0.5161 GB, free: 11.23 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1664/0.1667, allocations: 83.42 MB / 0.5975 GB, free: 7.75 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside): time 0.001678/0.1684, allocations: 1.155 MB / 0.5987 GB, free: 6.582 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0006917/0.1691, allocations: 432.2 kB / 0.5991 GB, free: 6.152 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.917e-05/0.1692, allocations: 0 / 0.5991 GB, free: 6.152 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.59e-05/0.1692, allocations: 0 / 0.5991 GB, free: 6.152 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.674e-05/0.1693, allocations: 3.938 kB / 0.5991 GB, free: 6.148 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002019/0.1695, allocations: 19.98 kB / 0.5991 GB, free: 6.129 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.515e-05/0.1696, allocations: 23.92 kB / 0.5991 GB, free: 6.105 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.188e-05/0.1697, allocations: 8 kB / 0.5991 GB, free: 6.098 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.855e-05/0.1697, allocations: 15.91 kB / 0.5991 GB, free: 6.082 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.449e-05/0.1698, allocations: 4 kB / 0.5992 GB, free: 6.078 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.36e-05/0.1698, allocations: 4 kB / 0.5992 GB, free: 6.074 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.946e-05/0.1699, allocations: 19.92 kB / 0.5992 GB, free: 6.055 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.176e-05/0.1699, allocations: 3.984 kB / 0.5992 GB, free: 6.051 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.867e-05/0.1699, allocations: 25.7 kB / 0.5992 GB, free: 6.02 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 8.157e-05/0.17, allocations: 19.97 kB / 0.5992 GB, free: 6 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.694e-06/0.17, allocations: 0 / 0.5992 GB, free: 6 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.844e-06/0.1701, allocations: 3.938 kB / 0.5992 GB, free: 5.996 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.863e-06/0.1701, allocations: 4 kB / 0.5992 GB, free: 5.992 MB / 0.4981 GB 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.0004955/0.1706, allocations: 351.5 kB / 0.5996 GB, free: 5.602 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.696e-05/0.1706, allocations: 8.031 kB / 0.5996 GB, free: 5.594 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.803e-05/0.1707, allocations: 30.56 kB / 0.5996 GB, free: 5.555 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.511e-05/0.1707, allocations: 4 kB / 0.5996 GB, free: 5.551 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001554/0.1709, allocations: 174.9 kB / 0.5998 GB, free: 5.34 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.739e-06/0.1709, allocations: 4 kB / 0.5998 GB, free: 5.336 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.221e-05/0.1709, allocations: 0 / 0.5998 GB, free: 5.336 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000187/0.1711, allocations: 53.69 kB / 0.5998 GB, free: 5.277 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.1711, allocations: 3.984 kB / 0.5998 GB, free: 5.273 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.656e-06/0.1711, allocations: 0 / 0.5998 GB, free: 5.273 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.1711, allocations: 0 / 0.5998 GB, free: 5.273 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001584/0.1713, allocations: 43.97 kB / 0.5999 GB, free: 5.23 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003615/0.1717, allocations: 260.8 kB / 0.6001 GB, free: 4.926 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001269/0.1718, allocations: 50.5 kB / 0.6002 GB, free: 4.867 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.037e-05/0.1719, allocations: 20.91 kB / 0.6002 GB, free: 4.844 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000125/0.172, allocations: 85.09 kB / 0.6003 GB, free: 4.742 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.89e-05/0.1721, allocations: 34.56 kB / 0.6003 GB, free: 4.699 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.1721, allocations: 0 / 0.6003 GB, free: 4.699 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0003423/0.1724, allocations: 101.6 kB / 0.6004 GB, free: 4.594 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.898e-05/0.1725, allocations: 51.41 kB / 0.6005 GB, free: 4.531 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.873e-05/0.1726, allocations: 109.9 kB / 0.6006 GB, free: 4.414 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.975e-05/0.1726, allocations: 29.7 kB / 0.6006 GB, free: 4.379 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.764e-05/0.1726, allocations: 84.14 kB / 0.6007 GB, free: 4.293 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.67e-05/0.1727, allocations: 7.844 kB / 0.6007 GB, free: 4.285 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.906e-06/0.1727, allocations: 0 / 0.6007 GB, free: 4.285 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001158/0.1728, allocations: 318.8 kB / 0.601 GB, free: 3.965 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.213e-05/0.1729, allocations: 15.98 kB / 0.601 GB, free: 3.949 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.732e-05/0.1729, allocations: 31.97 kB / 0.601 GB, free: 3.918 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.95e-05/0.173, allocations: 15.98 kB / 0.601 GB, free: 3.902 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.173, allocations: 0 / 0.601 GB, free: 3.902 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001776/0.1732, allocations: 81.72 kB / 0.6011 GB, free: 3.816 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.1732, allocations: 4 kB / 0.6011 GB, free: 3.812 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.017e-06/0.1732, allocations: 0 / 0.6011 GB, free: 3.812 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.1733, allocations: 0 / 0.6011 GB, free: 3.812 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.392e-05/0.1733, allocations: 15.88 kB / 0.6011 GB, free: 3.797 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.1734, allocations: 3.984 kB / 0.6011 GB, free: 3.793 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.738e-05/0.1734, allocations: 19.98 kB / 0.6012 GB, free: 3.773 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.23e-06/0.1734, allocations: 0 / 0.6012 GB, free: 3.773 MB / 0.4981 GB 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 8.046e-05/0.1735, allocations: 109.8 kB / 0.6013 GB, free: 3.656 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.06e-05/0.1735, allocations: 0 / 0.6013 GB, free: 3.656 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002256/0.1738, allocations: 96.61 kB / 0.6014 GB, free: 3.559 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.1738, allocations: 0 / 0.6014 GB, free: 3.559 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.1738, allocations: 0 / 0.6014 GB, free: 3.559 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.1738, allocations: 0 / 0.6014 GB, free: 3.559 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001523/0.174, allocations: 157.6 kB / 0.6015 GB, free: 3.355 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.174, allocations: 4.25 kB / 0.6015 GB, free: 3.352 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.534e-05/0.174, allocations: 15.98 kB / 0.6015 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.018e-06/0.174, allocations: 7.969 kB / 0.6015 GB, free: 3.328 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.722e-06/0.174, allocations: 0 / 0.6015 GB, free: 3.328 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.1741, allocations: 0 / 0.6015 GB, free: 3.328 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.1741, allocations: 0 / 0.6015 GB, free: 3.328 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002095/0.1743, allocations: 179.5 kB / 0.6017 GB, free: 3.137 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.077e-05/0.1743, allocations: 77.11 kB / 0.6018 GB, free: 3.043 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.159e-05/0.1743, allocations: 0 / 0.6018 GB, free: 3.043 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.772e-05/0.1744, allocations: 11.98 kB / 0.6018 GB, free: 3.031 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.319e-05/0.1744, allocations: 0 / 0.6018 GB, free: 3.031 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.725e-06/0.1744, allocations: 0 / 0.6018 GB, free: 3.031 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.564e-05/0.1745, allocations: 87.27 kB / 0.6019 GB, free: 2.945 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1745, allocations: 0 / 0.6019 GB, free: 2.945 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002102/0.1747, allocations: 16.03 kB / 0.6019 GB, free: 2.93 MB / 0.4981 GB 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.0005573/0.1753, allocations: 0.7123 MB / 0.6026 GB, free: 2.188 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001971/0.1755, allocations: 47.95 kB / 0.6026 GB, free: 2.141 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1755, allocations: 0 / 0.6026 GB, free: 2.141 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.871e-05/0.1756, allocations: 28.05 kB / 0.6027 GB, free: 2.113 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003054/0.1759, allocations: 7.375 kB / 0.6027 GB, free: 2.109 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003957/0.1763, allocations: 142.2 kB / 0.6028 GB, free: 1.93 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002479/0.1765, allocations: 0.677 MB / 0.6035 GB, free: 1.227 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.672e-05/0.1766, allocations: 12.05 kB / 0.6035 GB, free: 1.215 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.005e-05/0.1766, allocations: 15.42 kB / 0.6035 GB, free: 1.199 MB / 0.4981 GB Notification: Performance of SimCode: time 2.41e-07/0.1766, allocations: 0 / 0.6035 GB, free: 1.199 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0105/0.1871, allocations: 1.158 MB / 0.6046 GB, free: 180 kB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.3276/0.5147, allocations: 202 kB / 0.6048 GB, free: 42.47 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.632/2.147, allocations: 0 / 0.6048 GB, free: 42.47 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_SmoothHeaviside_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_SmoothHeaviside.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1) Environment - environmentSimulation: