Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.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(IBPSA.Utilities.Math.Functions.Examples.RegStep,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_RegStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.RegStep,fileNamePrefix="IBPSA_latest_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.001279/0.001279, allocations: 105.1 kB / 16.4 MB, free: 5.973 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.001212/0.001213, allocations: 195.1 kB / 17.34 MB, free: 5.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.485/1.485, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8332/0.8332, allocations: 125.4 MB / 416.5 MB, free: 13.52 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00192/0.00192, allocations: 75.05 kB / 0.5717 GB, free: 27.61 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1581/0.1601, allocations: 78.57 MB / 0.6484 GB, free: 5.574 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.RegStep): time 0.002016/0.1621, allocations: 0.5717 MB / 0.649 GB, free: 5.008 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002787/0.1624, allocations: 55.77 kB / 0.649 GB, free: 4.953 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.738e-05/0.1624, allocations: 4 kB / 0.649 GB, free: 4.949 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.223e-05/0.1625, allocations: 0 / 0.649 GB, free: 4.949 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.171e-06/0.1625, allocations: 0 / 0.649 GB, free: 4.949 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002491/0.1627, allocations: 15.94 kB / 0.649 GB, free: 4.934 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.998e-05/0.1628, allocations: 7.984 kB / 0.649 GB, free: 4.926 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.208e-05/0.1629, allocations: 3.938 kB / 0.649 GB, free: 4.922 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.303e-05/0.1629, allocations: 0 / 0.649 GB, free: 4.922 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.128e-05/0.1629, allocations: 0 / 0.649 GB, free: 4.922 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.828e-06/0.1629, allocations: 0 / 0.649 GB, free: 4.922 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001154/0.1631, allocations: 19.98 kB / 0.6491 GB, free: 4.902 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.014e-05/0.1631, allocations: 4 kB / 0.6491 GB, free: 4.898 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.839e-05/0.1631, allocations: 3.984 kB / 0.6491 GB, free: 4.895 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 9.917e-05/0.1632, allocations: 19.97 kB / 0.6491 GB, free: 4.875 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.1632, allocations: 0 / 0.6491 GB, free: 4.875 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.744e-06/0.1632, allocations: 0 / 0.6491 GB, free: 4.875 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.87e-06/0.1633, allocations: 0 / 0.6491 GB, free: 4.875 MB / 494.1 MB 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.0003566/0.1636, allocations: 315.8 kB / 0.6494 GB, free: 4.516 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.096e-05/0.1637, allocations: 8.031 kB / 0.6494 GB, free: 4.508 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.588e-05/0.1637, allocations: 30.75 kB / 0.6494 GB, free: 4.469 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002863/0.164, allocations: 28.89 kB / 0.6495 GB, free: 4.441 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000132/0.1642, allocations: 160.4 kB / 0.6496 GB, free: 4.246 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.983e-06/0.1642, allocations: 4.312 kB / 0.6496 GB, free: 4.242 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.091e-05/0.1642, allocations: 384 / 0.6496 GB, free: 4.242 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001579/0.1644, allocations: 34.25 kB / 0.6496 GB, free: 4.203 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.1644, allocations: 3.938 kB / 0.6496 GB, free: 4.199 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.066e-05/0.1644, allocations: 0 / 0.6496 GB, free: 4.199 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.107e-06/0.1644, allocations: 3.938 kB / 0.6496 GB, free: 4.195 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001195/0.1645, allocations: 15.98 kB / 0.6497 GB, free: 4.18 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001894/0.1647, allocations: 145.7 kB / 0.6498 GB, free: 3.988 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001022/0.1649, allocations: 26.88 kB / 0.6498 GB, free: 3.953 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.211e-05/0.1649, allocations: 12.91 kB / 0.6498 GB, free: 3.938 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.47e-05/0.165, allocations: 0 / 0.6498 GB, free: 3.938 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.087e-05/0.165, allocations: 38.5 kB / 0.6499 GB, free: 3.891 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 1.102e-06/0.165, allocations: 0 / 0.6499 GB, free: 3.891 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002884/0.1653, allocations: 53.61 kB / 0.6499 GB, free: 3.832 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.358e-05/0.1654, allocations: 51.41 kB / 0.65 GB, free: 3.77 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.04e-05/0.1654, allocations: 93.84 kB / 0.6501 GB, free: 3.668 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.738e-05/0.1655, allocations: 25.7 kB / 0.6501 GB, free: 3.637 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.236e-05/0.1655, allocations: 84.14 kB / 0.6502 GB, free: 3.551 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.922e-05/0.1655, allocations: 8.078 kB / 0.6502 GB, free: 3.543 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.567e-05/0.1656, allocations: 13.72 kB / 0.6502 GB, free: 3.523 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001575/0.1658, allocations: 314.8 kB / 0.6505 GB, free: 3.207 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.491e-05/0.1658, allocations: 7.984 kB / 0.6505 GB, free: 3.199 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.307e-05/0.1659, allocations: 4 kB / 0.6505 GB, free: 3.195 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001265/0.166, allocations: 24.91 kB / 0.6505 GB, free: 3.168 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.166, allocations: 0 / 0.6505 GB, free: 3.168 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000166/0.1662, allocations: 37.69 kB / 0.6506 GB, free: 3.125 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.1662, allocations: 4 kB / 0.6506 GB, free: 3.121 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.1663, allocations: 3.938 kB / 0.6506 GB, free: 3.117 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.825e-05/0.1663, allocations: 4 kB / 0.6506 GB, free: 3.113 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.857e-05/0.1664, allocations: 3.984 kB / 0.6506 GB, free: 3.109 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.006e-05/0.1664, allocations: 3.984 kB / 0.6506 GB, free: 3.105 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.528e-05/0.1664, allocations: 7.938 kB / 0.6506 GB, free: 3.098 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.913e-06/0.1665, allocations: 4.031 kB / 0.6506 GB, free: 3.094 MB / 494.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 (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.678e-05/0.1666, allocations: 105.8 kB / 0.6507 GB, free: 2.98 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.057e-06/0.1666, allocations: 0 / 0.6507 GB, free: 2.98 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.843e-05/0.1666, allocations: 15.05 kB / 0.6507 GB, free: 2.965 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.1666, allocations: 0 / 0.6507 GB, free: 2.965 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.1666, allocations: 0 / 0.6507 GB, free: 2.965 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.245e-06/0.1666, allocations: 0 / 0.6507 GB, free: 2.965 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001543/0.1668, allocations: 145.7 kB / 0.6508 GB, free: 2.773 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.1668, allocations: 0 / 0.6508 GB, free: 2.773 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.857e-05/0.1669, allocations: 19.92 kB / 0.6509 GB, free: 2.754 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.1669, allocations: 0 / 0.6509 GB, free: 2.754 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.037e-05/0.1669, allocations: 3.938 kB / 0.6509 GB, free: 2.75 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.1669, allocations: 0 / 0.6509 GB, free: 2.75 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1669, allocations: 0 / 0.6509 GB, free: 2.75 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001865/0.1671, allocations: 65.12 kB / 0.6509 GB, free: 2.668 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.358e-05/0.1672, allocations: 85.12 kB / 0.651 GB, free: 2.566 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.444e-05/0.1672, allocations: 3.938 kB / 0.651 GB, free: 2.562 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.59e-05/0.1673, allocations: 4 kB / 0.651 GB, free: 2.559 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.331e-05/0.1673, allocations: 3.938 kB / 0.651 GB, free: 2.555 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.807e-06/0.1673, allocations: 0 / 0.651 GB, free: 2.555 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.897e-05/0.1674, allocations: 75.28 kB / 0.6511 GB, free: 2.48 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1674, allocations: 3.938 kB / 0.6511 GB, free: 2.477 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002654/0.1676, allocations: 0 / 0.6511 GB, free: 2.477 MB / 494.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 (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000536/0.1682, allocations: 0.6046 MB / 0.6517 GB, free: 1.84 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001724/0.1684, allocations: 11.98 kB / 0.6517 GB, free: 1.828 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1684, allocations: 3.938 kB / 0.6517 GB, free: 1.824 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 6.475e-05/0.1685, allocations: 12.08 kB / 0.6517 GB, free: 1.812 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001784/0.1686, allocations: 6.188 kB / 0.6517 GB, free: 1.809 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004131/0.1691, allocations: 110.7 kB / 0.6518 GB, free: 1.66 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003191/0.1694, allocations: 0.669 MB / 0.6525 GB, free: 0.9648 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 4.435e-05/0.1695, allocations: 12.06 kB / 0.6525 GB, free: 0.9531 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.757e-05/0.1695, allocations: 7.438 kB / 0.6525 GB, free: 0.9453 MB / 494.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1695, allocations: 0 / 0.6525 GB, free: 0.9453 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02213/0.1916, allocations: 0.9255 MB / 0.6534 GB, free: 96 kB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.725/7.916, allocations: 4.531 kB / 0.6534 GB, free: 92 kB / 494.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegStep.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegStep.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegStep.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegStep.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_RegStep_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_RegStep.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1)