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.001451/0.001451, allocations: 107.7 kB / 16.41 MB, free: 6.488 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.001497/0.001497, allocations: 199.1 kB / 17.34 MB, free: 5.762 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.333/1.333, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7392/0.7392, allocations: 115.3 MB / 406.5 MB, free: 6.148 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001369/0.001369, allocations: 68.25 kB / 0.5572 GB, free: 32.46 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1446/0.146, allocations: 76.18 MB / 0.6316 GB, free: 4.875 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.RegStep): time 0.001797/0.1478, allocations: 0.561 MB / 0.6322 GB, free: 4.316 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002605/0.1481, allocations: 51.78 kB / 0.6322 GB, free: 4.266 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.869e-05/0.1482, allocations: 0 / 0.6322 GB, free: 4.266 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 1.114e-05/0.1482, allocations: 0 / 0.6322 GB, free: 4.266 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 5.861e-06/0.1482, allocations: 0 / 0.6322 GB, free: 4.266 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00022/0.1484, allocations: 15.98 kB / 0.6322 GB, free: 4.25 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 4.078e-05/0.1485, allocations: 0 / 0.6322 GB, free: 4.25 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.848e-05/0.1485, allocations: 0 / 0.6322 GB, free: 4.25 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.786e-05/0.1486, allocations: 8 kB / 0.6323 GB, free: 4.242 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.249e-05/0.1486, allocations: 11.86 kB / 0.6323 GB, free: 4.23 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 8.386e-06/0.1486, allocations: 0 / 0.6323 GB, free: 4.23 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001009/0.1487, allocations: 19.97 kB / 0.6323 GB, free: 4.211 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.122e-05/0.1487, allocations: 4 kB / 0.6323 GB, free: 4.207 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 1.55e-05/0.1488, allocations: 0 / 0.6323 GB, free: 4.207 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 8.717e-05/0.1488, allocations: 15.98 kB / 0.6323 GB, free: 4.191 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.155e-06/0.1489, allocations: 0 / 0.6323 GB, free: 4.191 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.502e-06/0.1489, allocations: 0 / 0.6323 GB, free: 4.191 MB / 478.1 MB Notification: Performance of Transformations before backend: time 9.307e-06/0.1489, allocations: 0 / 0.6323 GB, free: 4.191 MB / 478.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.0002774/0.1492, allocations: 319.5 kB / 0.6326 GB, free: 3.828 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.934e-05/0.1492, allocations: 12.06 kB / 0.6326 GB, free: 3.816 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.513e-05/0.1493, allocations: 34.75 kB / 0.6327 GB, free: 3.773 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002371/0.1495, allocations: 20.84 kB / 0.6327 GB, free: 3.754 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.339e-05/0.1496, allocations: 160.4 kB / 0.6328 GB, free: 3.559 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.076e-05/0.1496, allocations: 384 / 0.6328 GB, free: 3.559 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.032e-05/0.1496, allocations: 4.375 kB / 0.6328 GB, free: 3.555 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001436/0.1498, allocations: 38.25 kB / 0.6329 GB, free: 3.512 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.178e-06/0.1498, allocations: 3.938 kB / 0.6329 GB, free: 3.508 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.965e-06/0.1498, allocations: 0 / 0.6329 GB, free: 3.508 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-06/0.1498, allocations: 0 / 0.6329 GB, free: 3.508 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.28e-05/0.1499, allocations: 11.92 kB / 0.6329 GB, free: 3.496 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001484/0.1501, allocations: 149.7 kB / 0.633 GB, free: 3.301 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.434e-05/0.1501, allocations: 18.92 kB / 0.633 GB, free: 3.273 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.765e-05/0.1502, allocations: 16.91 kB / 0.6331 GB, free: 3.254 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.888e-05/0.1502, allocations: 0 / 0.6331 GB, free: 3.254 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.43e-05/0.1503, allocations: 38.5 kB / 0.6331 GB, free: 3.207 MB / 478.1 MB Notification: Performance of pre-optimization done (n=1): time 8.32e-07/0.1503, allocations: 0 / 0.6331 GB, free: 3.207 MB / 478.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002265/0.1505, allocations: 57.55 kB / 0.6332 GB, free: 3.145 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.748e-05/0.1505, allocations: 51.41 kB / 0.6332 GB, free: 3.082 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.32e-05/0.1506, allocations: 93.98 kB / 0.6333 GB, free: 2.98 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.224e-05/0.1506, allocations: 25.7 kB / 0.6333 GB, free: 2.949 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.572e-05/0.1506, allocations: 80.14 kB / 0.6334 GB, free: 2.867 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.621e-05/0.1507, allocations: 3.906 kB / 0.6334 GB, free: 2.863 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.048e-05/0.1507, allocations: 17.72 kB / 0.6334 GB, free: 2.84 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 9.649e-05/0.1508, allocations: 310.8 kB / 0.6337 GB, free: 2.527 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.661e-05/0.1508, allocations: 3.984 kB / 0.6337 GB, free: 2.523 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.384e-05/0.1509, allocations: 8 kB / 0.6337 GB, free: 2.516 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.095e-05/0.151, allocations: 20.84 kB / 0.6337 GB, free: 2.492 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.151, allocations: 0 / 0.6337 GB, free: 2.492 MB / 478.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001245/0.1511, allocations: 45.61 kB / 0.6338 GB, free: 2.441 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.1511, allocations: 8 kB / 0.6338 GB, free: 2.434 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.1511, allocations: 3.938 kB / 0.6338 GB, free: 2.43 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.1512, allocations: 0 / 0.6338 GB, free: 2.43 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.895e-05/0.1512, allocations: 8.094 kB / 0.6338 GB, free: 2.422 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.548e-06/0.1513, allocations: 0 / 0.6338 GB, free: 2.422 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.133e-05/0.1513, allocations: 0 / 0.6338 GB, free: 2.422 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.63e-06/0.1513, allocations: 0 / 0.6338 GB, free: 2.422 MB / 478.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 7.461e-05/0.1514, allocations: 113.8 kB / 0.6339 GB, free: 2.301 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.336e-06/0.1514, allocations: 0 / 0.6339 GB, free: 2.301 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.974e-05/0.1514, allocations: 7.062 kB / 0.6339 GB, free: 2.293 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.1514, allocations: 0 / 0.6339 GB, free: 2.293 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.1514, allocations: 4 kB / 0.6339 GB, free: 2.289 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.1515, allocations: 0 / 0.6339 GB, free: 2.289 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.268e-05/0.1515, allocations: 157.7 kB / 0.6341 GB, free: 2.086 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.1516, allocations: 3.938 kB / 0.6341 GB, free: 2.082 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.02e-05/0.1516, allocations: 0 / 0.6341 GB, free: 2.082 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.1516, allocations: 0 / 0.6341 GB, free: 2.082 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.299e-05/0.1516, allocations: 7.938 kB / 0.6341 GB, free: 2.074 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.946e-06/0.1516, allocations: 4 kB / 0.6341 GB, free: 2.07 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.1516, allocations: 3.938 kB / 0.6341 GB, free: 2.066 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001462/0.1518, allocations: 73.09 kB / 0.6342 GB, free: 1.977 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.85e-05/0.1518, allocations: 83.86 kB / 0.6342 GB, free: 1.879 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.25e-05/0.1519, allocations: 7.938 kB / 0.6342 GB, free: 1.871 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.936e-05/0.1519, allocations: 0 / 0.6342 GB, free: 1.871 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.358e-06/0.1519, allocations: 0 / 0.6342 GB, free: 1.871 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.956e-06/0.1519, allocations: 0 / 0.6342 GB, free: 1.871 MB / 478.1 MB Notification: Performance of sorting global known variables: time 3.28e-05/0.1519, allocations: 75.28 kB / 0.6343 GB, free: 1.797 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.152, allocations: 4.031 kB / 0.6343 GB, free: 1.793 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0001881/0.1522, allocations: 7.984 kB / 0.6343 GB, free: 1.785 MB / 478.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.0004052/0.1526, allocations: 0.6007 MB / 0.6349 GB, free: 1.152 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0001382/0.1527, allocations: 16.02 kB / 0.6349 GB, free: 1.137 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.1527, allocations: 0 / 0.6349 GB, free: 1.137 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 4.085e-05/0.1528, allocations: 7.984 kB / 0.6349 GB, free: 1.129 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001299/0.1529, allocations: 0 / 0.6349 GB, free: 1.129 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000369/0.1533, allocations: 118.7 kB / 0.6351 GB, free: 0.9727 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002575/0.1535, allocations: 0.6729 MB / 0.6357 GB, free: 280 kB / 478.1 MB Notification: Performance of simCode: alias equations: time 3.237e-05/0.1536, allocations: 8.109 kB / 0.6357 GB, free: 272 kB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.362e-05/0.1536, allocations: 11.38 kB / 0.6357 GB, free: 260 kB / 478.1 MB Notification: Performance of SimCode: time 2.01e-07/0.1536, allocations: 0 / 0.6357 GB, free: 260 kB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01837/0.172, allocations: 0.9451 MB / 0.6367 GB, free: 15.39 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.526/7.698, allocations: 17.06 kB / 0.6367 GB, free: 15.38 MB / 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)