Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.FirstOrder.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.IO.SignalExchange.Examples.FirstOrder,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_IO_SignalExchange_Examples_FirstOrder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.IO.SignalExchange.Examples.FirstOrder,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_IO_SignalExchange_Examples_FirstOrder",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.001755/0.001755, allocations: 102.2 kB / 15.98 MB, free: 6.34 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.001394/0.001394, allocations: 201.4 kB / 16.91 MB, free: 6.188 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.124/1.124, allocations: 222.9 MB / 240.6 MB, free: 13.71 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6175/0.6175, allocations: 115.3 MB / 406.1 MB, free: 6.379 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001075/0.001075, allocations: 63.89 kB / 493.2 MB, free: 0.5781 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.25/0.251, allocations: 76.17 MB / 0.556 GB, free: 35.5 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.SignalExchange.Examples.FirstOrder): time 0.00275/0.2538, allocations: 2.637 MB / 0.5586 GB, free: 33.68 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001107/0.255, allocations: 0.8715 MB / 0.5595 GB, free: 33.05 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002108/0.2552, allocations: 13.59 kB / 0.5595 GB, free: 33.05 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001603/0.2554, allocations: 49.95 kB / 0.5595 GB, free: 33.01 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001287/0.2555, allocations: 41.34 kB / 0.5596 GB, free: 32.98 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003626/0.2559, allocations: 220.1 kB / 0.5598 GB, free: 32.82 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003052/0.2562, allocations: 454.8 kB / 0.5602 GB, free: 32.57 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002546/0.2564, allocations: 227 kB / 0.5604 GB, free: 32.47 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001086/0.2566, allocations: 145.2 kB / 0.5605 GB, free: 32.38 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001094/0.2567, allocations: 149.8 kB / 0.5607 GB, free: 32.29 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.976e-05/0.2567, allocations: 49.56 kB / 0.5607 GB, free: 32.29 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.524e-05/0.2568, allocations: 53.94 kB / 0.5608 GB, free: 32.29 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.273e-05/0.2568, allocations: 89.84 kB / 0.5609 GB, free: 32.21 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 9.083e-05/0.2569, allocations: 189.5 kB / 0.5611 GB, free: 32.07 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004234/0.2573, allocations: 0.5954 MB / 0.5616 GB, free: 31.83 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.2574, allocations: 1.984 kB / 0.5616 GB, free: 31.83 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.2574, allocations: 0 / 0.5616 GB, free: 31.83 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.385e-05/0.2574, allocations: 0 / 0.5616 GB, free: 31.83 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.0007578/0.2581, allocations: 0.653 MB / 0.5623 GB, free: 31.29 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.186e-05/0.2582, allocations: 9.625 kB / 0.5623 GB, free: 31.29 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.135e-05/0.2582, allocations: 64.66 kB / 0.5623 GB, free: 31.23 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.743e-05/0.2583, allocations: 48.56 kB / 0.5624 GB, free: 31.2 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003198/0.2586, allocations: 382.3 kB / 0.5628 GB, free: 30.88 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.911e-05/0.2587, allocations: 24.72 kB / 0.5628 GB, free: 30.86 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.883e-05/0.2587, allocations: 26.38 kB / 0.5628 GB, free: 30.86 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004655/0.2592, allocations: 334.5 kB / 0.5631 GB, free: 30.68 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.839e-06/0.2592, allocations: 3.938 kB / 0.5631 GB, free: 30.67 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.375e-05/0.2592, allocations: 14.33 kB / 0.5631 GB, free: 30.66 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.714e-06/0.2592, allocations: 6.75 kB / 0.5632 GB, free: 30.66 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003888/0.2596, allocations: 233.8 kB / 0.5634 GB, free: 30.57 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001149/0.2608, allocations: 1.171 MB / 0.5645 GB, free: 29.76 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000371/0.2612, allocations: 232.6 kB / 0.5647 GB, free: 29.65 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001486/0.2613, allocations: 94.83 kB / 0.5648 GB, free: 29.61 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.116e-05/0.2613, allocations: 3.156 kB / 0.5648 GB, free: 29.61 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.259e-05/0.2614, allocations: 36.41 kB / 0.5649 GB, free: 29.57 MB / 446.1 MB Notification: Performance of pre-optimization done (n=16): time 1.192e-06/0.2614, allocations: 1.406 kB / 0.5649 GB, free: 29.57 MB / 446.1 MB Notification: Performance of matching and sorting (n=16): time 0.0005332/0.2619, allocations: 301.5 kB / 0.5652 GB, free: 29.43 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.304e-05/0.2619, allocations: 80.02 kB / 0.5652 GB, free: 29.33 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002604/0.2622, allocations: 330 kB / 0.5655 GB, free: 29.15 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.717e-05/0.2622, allocations: 31.47 kB / 0.5656 GB, free: 29.11 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.392e-05/0.2623, allocations: 199.1 kB / 0.5658 GB, free: 28.95 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.337e-05/0.2624, allocations: 50.61 kB / 0.5658 GB, free: 28.91 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.063e-05/0.2624, allocations: 44.08 kB / 0.5659 GB, free: 28.88 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.02e-05/0.2625, allocations: 339 kB / 0.5662 GB, free: 28.55 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001521/0.2626, allocations: 85.83 kB / 0.5663 GB, free: 28.52 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001582/0.2628, allocations: 117.7 kB / 0.5664 GB, free: 28.45 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002781/0.2631, allocations: 188.1 kB / 0.5666 GB, free: 28.35 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.2631, allocations: 0 / 0.5666 GB, free: 28.35 MB / 446.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003698/0.2635, allocations: 256 kB / 0.5668 GB, free: 28.22 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.134e-05/0.2635, allocations: 5.594 kB / 0.5668 GB, free: 28.22 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.379e-06/0.2635, allocations: 1.844 kB / 0.5668 GB, free: 28.22 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.2635, allocations: 2.594 kB / 0.5668 GB, free: 28.22 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001542/0.2637, allocations: 36.31 kB / 0.5668 GB, free: 28.21 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.2637, allocations: 7.922 kB / 0.5669 GB, free: 28.21 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001139/0.2638, allocations: 23.2 kB / 0.5669 GB, free: 28.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.412e-05/0.2638, allocations: 12.16 kB / 0.5669 GB, free: 28.2 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001726/0.264, allocations: 190.5 kB / 0.5671 GB, free: 28.06 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001146/0.2641, allocations: 103.9 kB / 0.5672 GB, free: 27.99 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001996/0.2643, allocations: 164.9 kB / 0.5673 GB, free: 27.9 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.72e-07/0.2643, allocations: 3.938 kB / 0.5673 GB, free: 27.89 MB / 446.1 MB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.0002837/0.2646, allocations: 224.7 kB / 0.5675 GB, free: 27.78 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.834e-06/0.2646, allocations: 8.156 kB / 0.5675 GB, free: 27.78 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.104e-06/0.2646, allocations: 2.219 kB / 0.5676 GB, free: 27.78 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.045e-06/0.2646, allocations: 5.719 kB / 0.5676 GB, free: 27.77 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001073/0.2648, allocations: 29.34 kB / 0.5676 GB, free: 27.77 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.514e-06/0.2648, allocations: 2.594 kB / 0.5676 GB, free: 27.77 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001001/0.2649, allocations: 19.92 kB / 0.5676 GB, free: 27.76 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.057e-05/0.2649, allocations: 12.62 kB / 0.5676 GB, free: 27.75 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 (expMod.oveWriAct_activate,expMod.oveWriSet_activate,expMod.mod.conPI.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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 6.103e-05/0.265, allocations: 185.5 kB / 0.5678 GB, free: 27.57 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.38e-05/0.265, allocations: 32.88 kB / 0.5678 GB, free: 27.55 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.887e-05/0.2651, allocations: 33.89 kB / 0.5679 GB, free: 27.53 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.2651, allocations: 4.438 kB / 0.5679 GB, free: 27.53 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.2651, allocations: 8.453 kB / 0.5679 GB, free: 27.52 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.2651, allocations: 1.797 kB / 0.5679 GB, free: 27.52 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003144/0.2654, allocations: 409.8 kB / 0.5683 GB, free: 27.22 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.2654, allocations: 0 / 0.5683 GB, free: 27.22 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001526/0.2656, allocations: 29.2 kB / 0.5683 GB, free: 27.21 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.2656, allocations: 1 kB / 0.5683 GB, free: 27.21 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.511e-05/0.2656, allocations: 8.75 kB / 0.5683 GB, free: 27.21 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.744e-06/0.2656, allocations: 1.094 kB / 0.5683 GB, free: 27.21 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.2656, allocations: 3.938 kB / 0.5683 GB, free: 27.21 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005177/0.2661, allocations: 431.7 kB / 0.5687 GB, free: 26.95 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.36e-05/0.2662, allocations: 133 kB / 0.5688 GB, free: 26.81 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.527e-05/0.2663, allocations: 2.516 kB / 0.5688 GB, free: 26.81 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001309/0.2664, allocations: 14.12 kB / 0.5689 GB, free: 26.81 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.184e-05/0.2664, allocations: 11.83 kB / 0.5689 GB, free: 26.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.1e-05/0.2665, allocations: 8.641 kB / 0.5689 GB, free: 26.8 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001819/0.2666, allocations: 232.4 kB / 0.5691 GB, free: 26.68 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.2667, allocations: 5.281 kB / 0.5691 GB, free: 26.67 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003402/0.267, allocations: 94.72 kB / 0.5692 GB, free: 26.64 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (expMod.mod.conPI.I.y,expMod.mod.firOrd.y) * Number of discrete variables: 2 (expMod.oveWriSet_activate,expMod.oveWriAct_activate) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 16 * 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.00061/0.2676, allocations: 0.9598 MB / 0.5701 GB, free: 25.86 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004885/0.2681, allocations: 294.2 kB / 0.5704 GB, free: 25.74 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.2681, allocations: 1.375 kB / 0.5704 GB, free: 25.74 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001488/0.2683, allocations: 95.95 kB / 0.5705 GB, free: 25.71 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004931/0.2688, allocations: 86.83 kB / 0.5706 GB, free: 25.68 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003322/0.2721, allocations: 3.069 MB / 0.5736 GB, free: 23.62 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001703/0.2723, allocations: 0.7757 MB / 0.5743 GB, free: 22.92 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.00013/0.2724, allocations: 30.52 kB / 0.5744 GB, free: 22.92 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001238/0.2725, allocations: 102.8 kB / 0.5745 GB, free: 22.84 MB / 446.1 MB Notification: Performance of SimCode: time 2.91e-07/0.2726, allocations: 0 / 0.5745 GB, free: 22.84 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 6.187/6.46, allocations: 6.43 MB / 0.5808 GB, free: 22.28 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002065/6.46, allocations: 203.5 kB / 0.5809 GB, free: 22.03 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.699/8.159, allocations: 5.578 kB / 0.5809 GB, free: 22.02 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.FirstOrder.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_IO_SignalExchange_Examples_FirstOrder_fmu --startTime=0 --stopTime=150 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_IO_SignalExchange_Examples_FirstOrder.fmu > IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe 2>&1)