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.001792/0.001792, allocations: 101.7 kB / 16.4 MB, free: 6.484 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.002165/0.002165, allocations: 189.2 kB / 17.34 MB, free: 5.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.308/2.308, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.187/1.187, allocations: 115.3 MB / 406.5 MB, free: 6.125 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002445/0.002446, allocations: 67.08 kB / 0.5572 GB, free: 32.38 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2602/0.2627, allocations: 76.17 MB / 0.6316 GB, free: 4.828 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.RegStep): time 0.003128/0.2659, allocations: 0.5727 MB / 0.6322 GB, free: 4.258 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.000389/0.2663, allocations: 43.84 kB / 0.6322 GB, free: 4.215 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.81e-05/0.2663, allocations: 0 / 0.6322 GB, free: 4.215 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 1.777e-05/0.2664, allocations: 3.938 kB / 0.6322 GB, free: 4.211 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 8.566e-06/0.2665, allocations: 4 kB / 0.6322 GB, free: 4.207 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003256/0.2668, allocations: 11.98 kB / 0.6322 GB, free: 4.195 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 5.836e-05/0.2669, allocations: 3.984 kB / 0.6322 GB, free: 4.191 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.598e-05/0.2669, allocations: 0 / 0.6322 GB, free: 4.191 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.135e-05/0.267, allocations: 4 kB / 0.6323 GB, free: 4.188 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.088e-05/0.267, allocations: 7.938 kB / 0.6323 GB, free: 4.18 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.436e-05/0.267, allocations: 0 / 0.6323 GB, free: 4.18 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001612/0.2672, allocations: 19.97 kB / 0.6323 GB, free: 4.16 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.369e-05/0.2672, allocations: 4 kB / 0.6323 GB, free: 4.156 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 2.976e-05/0.2673, allocations: 0 / 0.6323 GB, free: 4.156 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001337/0.2674, allocations: 23.91 kB / 0.6323 GB, free: 4.133 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.2674, allocations: 0 / 0.6323 GB, free: 4.133 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.454e-06/0.2674, allocations: 0 / 0.6323 GB, free: 4.133 MB / 478.1 MB Notification: Performance of Transformations before backend: time 7.384e-06/0.2674, allocations: 4 kB / 0.6323 GB, free: 4.129 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.0004222/0.2679, allocations: 307.5 kB / 0.6326 GB, free: 3.777 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.719e-05/0.268, allocations: 16.06 kB / 0.6326 GB, free: 3.762 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.529e-05/0.268, allocations: 30.75 kB / 0.6326 GB, free: 3.723 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003925/0.2684, allocations: 20.91 kB / 0.6327 GB, free: 3.703 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001543/0.2686, allocations: 160.4 kB / 0.6328 GB, free: 3.508 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.824e-05/0.2686, allocations: 384 / 0.6328 GB, free: 3.508 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.033e-05/0.2686, allocations: 4.375 kB / 0.6328 GB, free: 3.504 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002196/0.2689, allocations: 38.23 kB / 0.6329 GB, free: 3.461 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.452e-05/0.2689, allocations: 7.938 kB / 0.6329 GB, free: 3.453 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.332e-05/0.2689, allocations: 0 / 0.6329 GB, free: 3.453 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.914e-06/0.2689, allocations: 0 / 0.6329 GB, free: 3.453 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001234/0.2691, allocations: 11.92 kB / 0.6329 GB, free: 3.441 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002202/0.2693, allocations: 149.7 kB / 0.633 GB, free: 3.246 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001328/0.2694, allocations: 22.94 kB / 0.633 GB, free: 3.215 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.172e-05/0.2695, allocations: 8.859 kB / 0.6331 GB, free: 3.203 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.736e-05/0.2696, allocations: 4.062 kB / 0.6331 GB, free: 3.199 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.485e-05/0.2696, allocations: 34.5 kB / 0.6331 GB, free: 3.156 MB / 478.1 MB Notification: Performance of pre-optimization done (n=1): time 1.252e-06/0.2696, allocations: 3.938 kB / 0.6331 GB, free: 3.152 MB / 478.1 MB Notification: Performance of matching and sorting (n=1): time 0.0003698/0.27, allocations: 53.55 kB / 0.6331 GB, free: 3.094 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.414e-05/0.2701, allocations: 51.41 kB / 0.6332 GB, free: 3.031 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.922e-05/0.2702, allocations: 93.98 kB / 0.6333 GB, free: 2.93 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.363e-05/0.2702, allocations: 29.7 kB / 0.6333 GB, free: 2.895 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.426e-05/0.2702, allocations: 80.14 kB / 0.6334 GB, free: 2.812 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.262e-05/0.2703, allocations: 3.906 kB / 0.6334 GB, free: 2.809 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.389e-05/0.2704, allocations: 17.72 kB / 0.6334 GB, free: 2.785 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000166/0.2705, allocations: 314.8 kB / 0.6337 GB, free: 2.469 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.189e-05/0.2706, allocations: 4 kB / 0.6337 GB, free: 2.465 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.129e-05/0.2707, allocations: 3.984 kB / 0.6337 GB, free: 2.461 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001272/0.2708, allocations: 20.92 kB / 0.6337 GB, free: 2.438 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.2708, allocations: 0 / 0.6337 GB, free: 2.438 MB / 478.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001724/0.271, allocations: 49.61 kB / 0.6338 GB, free: 2.383 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/0.271, allocations: 8 kB / 0.6338 GB, free: 2.375 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.053e-05/0.271, allocations: 7.922 kB / 0.6338 GB, free: 2.367 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.111e-05/0.2711, allocations: 0 / 0.6338 GB, free: 2.367 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001015/0.2712, allocations: 4 kB / 0.6338 GB, free: 2.363 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.2712, allocations: 4.031 kB / 0.6338 GB, free: 2.359 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.537e-05/0.2713, allocations: 3.984 kB / 0.6338 GB, free: 2.355 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.498e-06/0.2713, allocations: 0 / 0.6338 GB, free: 2.355 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 0.0001246/0.2714, allocations: 109.8 kB / 0.6339 GB, free: 2.238 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.156e-05/0.2714, allocations: 0 / 0.6339 GB, free: 2.238 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.151e-05/0.2715, allocations: 7.062 kB / 0.6339 GB, free: 2.23 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.2715, allocations: 0 / 0.6339 GB, free: 2.23 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.2715, allocations: 0 / 0.6339 GB, free: 2.23 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.674e-06/0.2715, allocations: 7.984 kB / 0.6339 GB, free: 2.223 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001408/0.2717, allocations: 153.7 kB / 0.6341 GB, free: 2.023 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.2717, allocations: 0 / 0.6341 GB, free: 2.023 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.192e-05/0.2717, allocations: 0 / 0.6341 GB, free: 2.023 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.416e-06/0.2718, allocations: 4 kB / 0.6341 GB, free: 2.02 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.181e-05/0.2718, allocations: 3.938 kB / 0.6341 GB, free: 2.016 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.2718, allocations: 0 / 0.6341 GB, free: 2.016 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.067e-06/0.2718, allocations: 3.984 kB / 0.6341 GB, free: 2.012 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002036/0.272, allocations: 65.06 kB / 0.6341 GB, free: 1.93 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.23e-05/0.2721, allocations: 81.67 kB / 0.6342 GB, free: 1.832 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.696e-05/0.2721, allocations: 7.875 kB / 0.6342 GB, free: 1.824 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.248e-05/0.2722, allocations: 7.984 kB / 0.6342 GB, free: 1.816 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.805e-05/0.2722, allocations: 0 / 0.6342 GB, free: 1.816 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.498e-06/0.2722, allocations: 0 / 0.6342 GB, free: 1.816 MB / 478.1 MB Notification: Performance of sorting global known variables: time 4.432e-05/0.2722, allocations: 79.28 kB / 0.6343 GB, free: 1.738 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.2723, allocations: 3.938 kB / 0.6343 GB, free: 1.734 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0002884/0.2726, allocations: 4.031 kB / 0.6343 GB, free: 1.73 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.0006204/0.2732, allocations: 0.6046 MB / 0.6349 GB, free: 1.094 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0002118/0.2734, allocations: 16.02 kB / 0.6349 GB, free: 1.078 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.2734, allocations: 0 / 0.6349 GB, free: 1.078 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 5.542e-05/0.2735, allocations: 4 kB / 0.6349 GB, free: 1.074 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002031/0.2737, allocations: 1.406 kB / 0.6349 GB, free: 1.074 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006004/0.2743, allocations: 118.7 kB / 0.635 GB, free: 0.918 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000373/0.2747, allocations: 0.6768 MB / 0.6357 GB, free: 220 kB / 478.1 MB Notification: Performance of simCode: alias equations: time 5.017e-05/0.2748, allocations: 4.125 kB / 0.6357 GB, free: 216 kB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.763e-05/0.2748, allocations: 7.438 kB / 0.6357 GB, free: 208 kB / 478.1 MB Notification: Performance of SimCode: time 2.8e-07/0.2748, allocations: 0 / 0.6357 GB, free: 208 kB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.058/1.333, allocations: 0.9583 MB / 0.6367 GB, free: 15.32 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.9/13.24, allocations: 1.641 kB / 0.6367 GB, free: 15.32 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)