Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep.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.Functions.Examples.RegStep,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_RegStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_RegStep",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.001175/0.001174, allocations: 100.5 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.001185/0.001185, allocations: 177.3 kB / 15.94 MB, free: 228 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.419/1.419, allocations: 223.2 MB / 239.9 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.02/1.02, allocations: 143.3 MB / 434.3 MB, free: 13.59 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000356/0.000356, allocations: 12 kB / 0.5159 GB, free: 11.27 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1698/0.1702, allocations: 83.4 MB / 0.5974 GB, free: 7.805 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep): time 0.0006526/0.1709, allocations: 315 kB / 0.5977 GB, free: 7.496 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002055/0.1711, allocations: 51.83 kB / 0.5977 GB, free: 7.445 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.106e-05/0.1711, allocations: 0 / 0.5977 GB, free: 7.445 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.176e-05/0.1711, allocations: 0 / 0.5977 GB, free: 7.445 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.569e-06/0.1712, allocations: 0 / 0.5977 GB, free: 7.445 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001757/0.1713, allocations: 11.92 kB / 0.5977 GB, free: 7.434 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 3.122e-05/0.1714, allocations: 0 / 0.5977 GB, free: 7.434 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.086e-05/0.1714, allocations: 0 / 0.5977 GB, free: 7.434 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.134e-05/0.1715, allocations: 4 kB / 0.5977 GB, free: 7.43 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.679e-05/0.1715, allocations: 7.984 kB / 0.5977 GB, free: 7.422 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.477e-06/0.1715, allocations: 4 kB / 0.5977 GB, free: 7.418 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.759e-05/0.1716, allocations: 19.97 kB / 0.5978 GB, free: 7.398 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.641e-06/0.1716, allocations: 0 / 0.5978 GB, free: 7.398 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.363e-05/0.1716, allocations: 25.7 kB / 0.5978 GB, free: 7.367 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 6.052e-05/0.1717, allocations: 11.98 kB / 0.5978 GB, free: 7.355 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 1.884e-06/0.1717, allocations: 3.938 kB / 0.5978 GB, free: 7.352 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.343e-06/0.1717, allocations: 0 / 0.5978 GB, free: 7.352 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.246e-06/0.1717, allocations: 0 / 0.5978 GB, free: 7.352 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002448/0.172, allocations: 303.4 kB / 0.5981 GB, free: 7.008 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.172, allocations: 16.09 kB / 0.5981 GB, free: 6.992 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.301e-05/0.1721, allocations: 30.56 kB / 0.5981 GB, free: 6.953 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002363/0.1723, allocations: 15.97 kB / 0.5981 GB, free: 6.938 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.886e-05/0.1724, allocations: 171 kB / 0.5983 GB, free: 6.73 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.087e-05/0.1724, allocations: 4 kB / 0.5983 GB, free: 6.727 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.444e-06/0.1724, allocations: 0 / 0.5983 GB, free: 6.727 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001185/0.1726, allocations: 33.69 kB / 0.5983 GB, free: 6.688 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.753e-06/0.1726, allocations: 4 kB / 0.5983 GB, free: 6.684 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.338e-06/0.1726, allocations: 4 kB / 0.5984 GB, free: 6.68 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.1726, allocations: 0 / 0.5984 GB, free: 6.68 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.652e-05/0.1727, allocations: 11.92 kB / 0.5984 GB, free: 6.668 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001455/0.1729, allocations: 145.6 kB / 0.5985 GB, free: 6.477 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 7.516e-05/0.1729, allocations: 26.59 kB / 0.5985 GB, free: 6.441 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.83e-05/0.173, allocations: 4.062 kB / 0.5985 GB, free: 6.438 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.298e-05/0.173, allocations: 34.56 kB / 0.5986 GB, free: 6.395 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 8.72e-07/0.173, allocations: 0 / 0.5986 GB, free: 6.395 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0002329/0.1732, allocations: 49.61 kB / 0.5986 GB, free: 6.34 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.491e-05/0.1733, allocations: 51.41 kB / 0.5987 GB, free: 6.277 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.74e-05/0.1733, allocations: 93.8 kB / 0.5988 GB, free: 6.176 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.481e-05/0.1734, allocations: 25.7 kB / 0.5988 GB, free: 6.145 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.418e-05/0.1734, allocations: 84.2 kB / 0.5989 GB, free: 6.059 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.346e-05/0.1734, allocations: 7.906 kB / 0.5989 GB, free: 6.051 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.986e-06/0.1734, allocations: 0 / 0.5989 GB, free: 6.051 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001395/0.1736, allocations: 318.8 kB / 0.5992 GB, free: 5.73 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.62e-05/0.1736, allocations: 7.984 kB / 0.5992 GB, free: 5.723 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.563e-05/0.1737, allocations: 4 kB / 0.5992 GB, free: 5.719 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.081e-05/0.1737, allocations: 7.984 kB / 0.5992 GB, free: 5.711 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.1737, allocations: 0 / 0.5992 GB, free: 5.711 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001151/0.1739, allocations: 41.75 kB / 0.5992 GB, free: 5.664 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.1739, allocations: 4.625 kB / 0.5992 GB, free: 5.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.1739, allocations: 4 kB / 0.5992 GB, free: 5.656 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.115e-05/0.1739, allocations: 3.938 kB / 0.5992 GB, free: 5.652 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.102e-05/0.174, allocations: 3.984 kB / 0.5992 GB, free: 5.648 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.625e-06/0.174, allocations: 4 kB / 0.5992 GB, free: 5.645 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.445e-05/0.1741, allocations: 4 kB / 0.5992 GB, free: 5.641 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.165e-06/0.1741, allocations: 0 / 0.5992 GB, free: 5.641 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 (1): * Single equations (assignments): 1 * 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 7.852e-05/0.1742, allocations: 113.8 kB / 0.5994 GB, free: 5.52 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.182e-05/0.1742, allocations: 12 kB / 0.5994 GB, free: 5.508 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.644e-05/0.1742, allocations: 3.125 kB / 0.5994 GB, free: 5.508 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.1742, allocations: 0 / 0.5994 GB, free: 5.508 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.107e-06/0.1742, allocations: 0 / 0.5994 GB, free: 5.508 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.147e-06/0.1742, allocations: 3.984 kB / 0.5994 GB, free: 5.504 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.884e-05/0.1743, allocations: 145.6 kB / 0.5995 GB, free: 5.312 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.1743, allocations: 0 / 0.5995 GB, free: 5.312 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.499e-05/0.1744, allocations: 7.984 kB / 0.5995 GB, free: 5.305 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.1744, allocations: 4 kB / 0.5995 GB, free: 5.301 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.352e-06/0.1744, allocations: 0 / 0.5995 GB, free: 5.301 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.1744, allocations: 0 / 0.5995 GB, free: 5.301 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.1744, allocations: 4 kB / 0.5995 GB, free: 5.297 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001364/0.1746, allocations: 65.06 kB / 0.5996 GB, free: 5.215 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.991e-05/0.1746, allocations: 81.34 kB / 0.5997 GB, free: 5.117 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.399e-05/0.1746, allocations: 8.016 kB / 0.5997 GB, free: 5.109 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.236e-05/0.1747, allocations: 4 kB / 0.5997 GB, free: 5.105 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.324e-05/0.1747, allocations: 0 / 0.5997 GB, free: 5.105 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.517e-06/0.1747, allocations: 3.938 kB / 0.5997 GB, free: 5.102 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.556e-05/0.1748, allocations: 75.28 kB / 0.5998 GB, free: 5.027 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.1748, allocations: 0 / 0.5998 GB, free: 5.027 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001851/0.1749, allocations: 4 kB / 0.5998 GB, free: 5.023 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 (1): * Single equations (assignments): 1 * 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.0004646/0.1754, allocations: 0.6046 MB / 0.6004 GB, free: 4.387 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001248/0.1756, allocations: 11.92 kB / 0.6004 GB, free: 4.375 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1756, allocations: 7.938 kB / 0.6004 GB, free: 4.367 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.288e-05/0.1756, allocations: 4 kB / 0.6004 GB, free: 4.363 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.527e-05/0.1757, allocations: 8.094 kB / 0.6004 GB, free: 4.355 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003223/0.1761, allocations: 112.4 kB / 0.6005 GB, free: 4.207 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002525/0.1763, allocations: 0.6731 MB / 0.6011 GB, free: 3.508 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.817e-05/0.1764, allocations: 3.984 kB / 0.6011 GB, free: 3.504 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.485e-05/0.1764, allocations: 11.44 kB / 0.6012 GB, free: 3.492 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.1764, allocations: 0 / 0.6012 GB, free: 3.492 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01348/0.1899, allocations: 0.7549 MB / 0.6019 GB, free: 2.871 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00028/0.1902, allocations: 197.9 kB / 0.6021 GB, free: 2.629 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.625/1.815, allocations: 0 / 0.6021 GB, free: 2.629 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_RegStep_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_RegStep.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1) Environment - environmentSimulation: