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.0007306/0.0007306, allocations: 94.03 kB / 15.06 MB, free: 1.086 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.0007912/0.0007913, 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.342/1.342, allocations: 223.2 MB / 240 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.002/1.002, allocations: 143.4 MB / 434.4 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003181/0.0003181, allocations: 12 kB / 0.5161 GB, free: 11.16 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1608/0.1611, allocations: 83.42 MB / 0.5976 GB, free: 7.684 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep): time 0.0006129/0.1618, allocations: 307.1 kB / 0.5978 GB, free: 7.383 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002015/0.162, allocations: 47.89 kB / 0.5979 GB, free: 7.336 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.057e-05/0.162, allocations: 0 / 0.5979 GB, free: 7.336 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.144e-05/0.162, allocations: 0 / 0.5979 GB, free: 7.336 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.581e-06/0.162, allocations: 0 / 0.5979 GB, free: 7.336 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001693/0.1622, allocations: 12 kB / 0.5979 GB, free: 7.324 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 3.42e-05/0.1623, allocations: 3.984 kB / 0.5979 GB, free: 7.32 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.937e-05/0.1623, allocations: 3.984 kB / 0.5979 GB, free: 7.316 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.215e-05/0.1623, allocations: 4 kB / 0.5979 GB, free: 7.312 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.17e-05/0.1624, allocations: 3.938 kB / 0.5979 GB, free: 7.309 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 6.943e-06/0.1624, allocations: 0 / 0.5979 GB, free: 7.309 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.389e-05/0.1624, allocations: 15.98 kB / 0.5979 GB, free: 7.293 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.043e-06/0.1625, allocations: 4 kB / 0.5979 GB, free: 7.289 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.85e-05/0.1625, allocations: 25.7 kB / 0.598 GB, free: 7.258 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 5.818e-05/0.1625, allocations: 11.92 kB / 0.598 GB, free: 7.246 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.1626, allocations: 0 / 0.598 GB, free: 7.246 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.242e-06/0.1626, allocations: 4 kB / 0.598 GB, free: 7.242 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.216e-06/0.1626, allocations: 0 / 0.598 GB, free: 7.242 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.0002112/0.1628, allocations: 319.4 kB / 0.5983 GB, free: 6.883 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.32e-05/0.1628, allocations: 8.031 kB / 0.5983 GB, free: 6.875 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.652e-05/0.1629, allocations: 34.56 kB / 0.5983 GB, free: 6.832 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002158/0.1631, allocations: 19.95 kB / 0.5983 GB, free: 6.812 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.595e-05/0.1632, allocations: 167 kB / 0.5985 GB, free: 6.609 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.506e-06/0.1632, allocations: 4 kB / 0.5985 GB, free: 6.605 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.318e-06/0.1632, allocations: 4 kB / 0.5985 GB, free: 6.602 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001123/0.1633, allocations: 33.69 kB / 0.5985 GB, free: 6.562 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.1633, allocations: 0 / 0.5985 GB, free: 6.562 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.081e-06/0.1633, allocations: 3.938 kB / 0.5985 GB, free: 6.559 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.456e-06/0.1633, allocations: 0 / 0.5985 GB, free: 6.559 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.067e-05/0.1634, allocations: 7.984 kB / 0.5986 GB, free: 6.551 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001196/0.1636, allocations: 161.6 kB / 0.5987 GB, free: 6.344 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.952e-05/0.1636, allocations: 18.61 kB / 0.5987 GB, free: 6.316 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.517e-05/0.1637, allocations: 8.844 kB / 0.5987 GB, free: 6.305 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.58e-05/0.1637, allocations: 4.062 kB / 0.5987 GB, free: 6.301 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.833e-05/0.1637, allocations: 30.56 kB / 0.5988 GB, free: 6.262 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 9.02e-07/0.1637, allocations: 0 / 0.5988 GB, free: 6.262 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.000192/0.1639, allocations: 57.61 kB / 0.5988 GB, free: 6.199 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.597e-05/0.164, allocations: 51.41 kB / 0.5989 GB, free: 6.137 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.034e-05/0.164, allocations: 89.86 kB / 0.599 GB, free: 6.039 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.084e-05/0.164, allocations: 25.7 kB / 0.599 GB, free: 6.008 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 1.97e-05/0.164, allocations: 80.14 kB / 0.5991 GB, free: 5.926 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.333e-05/0.1641, allocations: 3.906 kB / 0.5991 GB, free: 5.922 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.815e-06/0.1641, allocations: 0 / 0.5991 GB, free: 5.922 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.725e-05/0.1642, allocations: 318.9 kB / 0.5994 GB, free: 5.602 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.935e-05/0.1642, allocations: 11.98 kB / 0.5994 GB, free: 5.59 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.1e-05/0.1642, allocations: 4 kB / 0.5994 GB, free: 5.586 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.46e-05/0.1643, allocations: 7.984 kB / 0.5994 GB, free: 5.578 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.1643, allocations: 0 / 0.5994 GB, free: 5.578 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001027/0.1644, allocations: 45.62 kB / 0.5994 GB, free: 5.527 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.214e-05/0.1644, allocations: 11.94 kB / 0.5994 GB, free: 5.516 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.276e-06/0.1644, allocations: 4.094 kB / 0.5994 GB, free: 5.512 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.153e-05/0.1645, allocations: 0 / 0.5994 GB, free: 5.512 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.512e-05/0.1645, allocations: 0 / 0.5994 GB, free: 5.512 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.243e-06/0.1645, allocations: 7.984 kB / 0.5995 GB, free: 5.504 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.801e-05/0.1646, allocations: 0 / 0.5995 GB, free: 5.504 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.989e-06/0.1646, allocations: 0 / 0.5995 GB, free: 5.504 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 6.036e-05/0.1646, allocations: 109.8 kB / 0.5996 GB, free: 5.387 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.424e-06/0.1646, allocations: 4 kB / 0.5996 GB, free: 5.383 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.208e-05/0.1647, allocations: 7.125 kB / 0.5996 GB, free: 5.379 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.032e-06/0.1647, allocations: 0 / 0.5996 GB, free: 5.379 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.1647, allocations: 0 / 0.5996 GB, free: 5.379 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.823e-06/0.1647, allocations: 0 / 0.5996 GB, free: 5.379 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.522e-05/0.1648, allocations: 149.6 kB / 0.5997 GB, free: 5.184 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.1648, allocations: 0 / 0.5997 GB, free: 5.184 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.721e-05/0.1648, allocations: 11.94 kB / 0.5997 GB, free: 5.172 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.1648, allocations: 0 / 0.5997 GB, free: 5.172 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.164e-06/0.1648, allocations: 3.984 kB / 0.5997 GB, free: 5.168 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.1649, allocations: 4 kB / 0.5997 GB, free: 5.164 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.1649, allocations: 0 / 0.5997 GB, free: 5.164 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001208/0.165, allocations: 65.06 kB / 0.5998 GB, free: 5.082 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.611e-05/0.165, allocations: 81.34 kB / 0.5999 GB, free: 4.984 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.01e-05/0.165, allocations: 0 / 0.5999 GB, free: 4.984 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.074e-05/0.1651, allocations: 11.98 kB / 0.5999 GB, free: 4.973 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.188e-05/0.1651, allocations: 0 / 0.5999 GB, free: 4.973 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.625e-06/0.1651, allocations: 0 / 0.5999 GB, free: 4.973 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.093e-05/0.1651, allocations: 83.31 kB / 0.6 GB, free: 4.891 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1651, allocations: 0 / 0.6 GB, free: 4.891 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001672/0.1653, allocations: 4 kB / 0.6 GB, free: 4.887 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.0003516/0.1657, allocations: 0.6085 MB / 0.6006 GB, free: 4.246 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001104/0.1658, allocations: 11.98 kB / 0.6006 GB, free: 4.234 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.1658, allocations: 0 / 0.6006 GB, free: 4.234 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.602e-05/0.1658, allocations: 4 kB / 0.6006 GB, free: 4.23 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001209/0.166, allocations: 3.938 kB / 0.6006 GB, free: 4.227 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002876/0.1663, allocations: 112.3 kB / 0.6007 GB, free: 4.078 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001994/0.1665, allocations: 0.6733 MB / 0.6013 GB, free: 3.379 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.727e-05/0.1665, allocations: 7.984 kB / 0.6013 GB, free: 3.371 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.42e-05/0.1665, allocations: 7.438 kB / 0.6014 GB, free: 3.363 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.1665, allocations: 0 / 0.6014 GB, free: 3.363 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009582/0.1761, allocations: 0.7777 MB / 0.6021 GB, free: 2.723 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002532/0.1764, allocations: 206.5 kB / 0.6023 GB, free: 2.48 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.571/1.747, allocations: 0 / 0.6023 GB, free: 2.48 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: