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.002488/0.002488, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002384/0.002385, allocations: 209.6 kB / 16.79 MB, free: 6.84 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.167/1.167, allocations: 222.9 MB / 240.5 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5975/0.5975, allocations: 115.3 MB / 406 MB, free: 2.773 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001124/0.001124, allocations: 60.41 kB / 493 MB, free: 6.758 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1063/0.1075, allocations: 76.19 MB / 0.5558 GB, free: 10.77 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.SignalExchange.Examples.FirstOrder): time 0.003101/0.1106, allocations: 2.639 MB / 0.5584 GB, free: 8.113 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001208/0.1118, allocations: 0.8805 MB / 0.5593 GB, free: 7.227 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001897/0.112, allocations: 11.94 kB / 0.5593 GB, free: 7.215 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001815/0.1122, allocations: 43.59 kB / 0.5593 GB, free: 7.172 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001297/0.1124, allocations: 51.64 kB / 0.5594 GB, free: 7.121 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003892/0.1128, allocations: 211 kB / 0.5596 GB, free: 6.918 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003295/0.1131, allocations: 411.6 kB / 0.56 GB, free: 6.516 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002693/0.1134, allocations: 221.1 kB / 0.5602 GB, free: 6.297 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001131/0.1135, allocations: 107.4 kB / 0.5603 GB, free: 6.191 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001139/0.1136, allocations: 127.2 kB / 0.5604 GB, free: 6.066 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.53e-05/0.1137, allocations: 20 kB / 0.5604 GB, free: 6.047 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.119e-05/0.1137, allocations: 16 kB / 0.5605 GB, free: 6.031 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 4.646e-05/0.1137, allocations: 59.69 kB / 0.5605 GB, free: 5.973 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001037/0.1138, allocations: 151.1 kB / 0.5607 GB, free: 5.824 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003695/0.1142, allocations: 0.5726 MB / 0.5612 GB, free: 5.25 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.564e-06/0.1142, allocations: 0 / 0.5612 GB, free: 5.25 MB / 430.1 MB Notification: Performance of FrontEnd: time 6.41e-07/0.1142, allocations: 0 / 0.5612 GB, free: 5.25 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.677e-06/0.1143, allocations: 0 / 0.5612 GB, free: 5.25 MB / 430.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.0007569/0.115, allocations: 0.6468 MB / 0.5618 GB, free: 4.555 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.142e-05/0.115, allocations: 8.031 kB / 0.5619 GB, free: 4.547 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.898e-05/0.1151, allocations: 70.67 kB / 0.5619 GB, free: 4.469 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.166e-05/0.1152, allocations: 40.47 kB / 0.562 GB, free: 4.43 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003449/0.1155, allocations: 375.3 kB / 0.5623 GB, free: 4.027 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.281e-05/0.1156, allocations: 20.94 kB / 0.5623 GB, free: 4.004 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.89e-05/0.1156, allocations: 32.38 kB / 0.5624 GB, free: 3.973 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004995/0.1161, allocations: 329.5 kB / 0.5627 GB, free: 3.637 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.684e-06/0.1161, allocations: 0 / 0.5627 GB, free: 3.637 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.544e-05/0.1162, allocations: 15.94 kB / 0.5627 GB, free: 3.621 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.855e-06/0.1162, allocations: 8 kB / 0.5627 GB, free: 3.613 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004181/0.1166, allocations: 234.1 kB / 0.5629 GB, free: 3.387 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001228/0.1178, allocations: 1.17 MB / 0.5641 GB, free: 2.156 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004094/0.1182, allocations: 234.8 kB / 0.5643 GB, free: 1.918 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001684/0.1184, allocations: 98.94 kB / 0.5644 GB, free: 1.82 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.113e-05/0.1185, allocations: 3.938 kB / 0.5644 GB, free: 1.816 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.99e-05/0.1185, allocations: 42.5 kB / 0.5644 GB, free: 1.766 MB / 430.1 MB Notification: Performance of pre-optimization done (n=16): time 1.253e-06/0.1185, allocations: 0 / 0.5644 GB, free: 1.766 MB / 430.1 MB Notification: Performance of matching and sorting (n=16): time 0.0005613/0.119, allocations: 293.2 kB / 0.5647 GB, free: 1.473 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.767e-05/0.1191, allocations: 77.11 kB / 0.5648 GB, free: 1.379 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002758/0.1194, allocations: 332.4 kB / 0.5651 GB, free: 1.039 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.104e-05/0.1194, allocations: 29.7 kB / 0.5651 GB, free: 1.004 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001121/0.1195, allocations: 200.1 kB / 0.5653 GB, free: 0.8047 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.719e-05/0.1196, allocations: 51.27 kB / 0.5654 GB, free: 0.7539 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.484e-05/0.1196, allocations: 37.7 kB / 0.5654 GB, free: 0.7109 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.694e-05/0.1197, allocations: 342.8 kB / 0.5657 GB, free: 376 kB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001604/0.1199, allocations: 88.81 kB / 0.5658 GB, free: 284 kB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001792/0.1201, allocations: 121.8 kB / 0.5659 GB, free: 152 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003133/0.1204, allocations: 189 kB / 0.5661 GB, free: 15.95 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.1204, allocations: 0 / 0.5661 GB, free: 15.95 MB / 446.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003946/0.1208, allocations: 257.2 kB / 0.5664 GB, free: 15.7 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.186e-05/0.1208, allocations: 4 kB / 0.5664 GB, free: 15.69 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.1208, allocations: 0 / 0.5664 GB, free: 15.69 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.048e-05/0.1209, allocations: 4 kB / 0.5664 GB, free: 15.69 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001588/0.121, allocations: 31.92 kB / 0.5664 GB, free: 15.66 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.283e-06/0.121, allocations: 3.938 kB / 0.5664 GB, free: 15.65 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000119/0.1212, allocations: 35.67 kB / 0.5664 GB, free: 15.62 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.322e-05/0.1212, allocations: 4 kB / 0.5664 GB, free: 15.61 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002031/0.1214, allocations: 196.2 kB / 0.5666 GB, free: 15.42 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001347/0.1215, allocations: 103.4 kB / 0.5667 GB, free: 15.3 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000222/0.1218, allocations: 165 kB / 0.5669 GB, free: 15.14 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.01e-07/0.1218, allocations: 0 / 0.5669 GB, free: 15.14 MB / 446.1 MB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.0003099/0.1221, allocations: 229.2 kB / 0.5671 GB, free: 14.91 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.863e-06/0.1221, allocations: 4 kB / 0.5671 GB, free: 14.9 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.1221, allocations: 11.98 kB / 0.5671 GB, free: 14.89 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.154e-06/0.1221, allocations: 3.938 kB / 0.5671 GB, free: 14.89 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001159/0.1222, allocations: 31.92 kB / 0.5671 GB, free: 14.86 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.185e-06/0.1222, allocations: 0 / 0.5671 GB, free: 14.86 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001047/0.1224, allocations: 19.86 kB / 0.5672 GB, free: 14.84 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.036e-05/0.1224, allocations: 4 kB / 0.5672 GB, free: 14.83 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 8.732e-05/0.1225, allocations: 193.9 kB / 0.5674 GB, free: 14.64 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.86e-05/0.1225, allocations: 35.56 kB / 0.5674 GB, free: 14.6 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.146e-05/0.1226, allocations: 31.28 kB / 0.5674 GB, free: 14.57 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.1226, allocations: 4 kB / 0.5674 GB, free: 14.57 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.1226, allocations: 3.938 kB / 0.5674 GB, free: 14.56 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.1226, allocations: 3.938 kB / 0.5674 GB, free: 14.56 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003437/0.123, allocations: 413.2 kB / 0.5678 GB, free: 14.11 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.123, allocations: 0 / 0.5678 GB, free: 14.11 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001477/0.1231, allocations: 23.98 kB / 0.5678 GB, free: 14.09 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.993e-06/0.1231, allocations: 4 kB / 0.5679 GB, free: 14.08 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.397e-05/0.1231, allocations: 4 kB / 0.5679 GB, free: 14.08 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.1232, allocations: 3.984 kB / 0.5679 GB, free: 14.07 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.1232, allocations: 3.938 kB / 0.5679 GB, free: 14.07 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005725/0.1237, allocations: 431.7 kB / 0.5683 GB, free: 13.63 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.435e-05/0.1238, allocations: 140.7 kB / 0.5684 GB, free: 13.48 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.251e-05/0.1239, allocations: 4 kB / 0.5684 GB, free: 13.47 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001376/0.124, allocations: 11.98 kB / 0.5684 GB, free: 13.46 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.122e-05/0.1241, allocations: 15.92 kB / 0.5684 GB, free: 13.45 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.147e-06/0.1241, allocations: 0 / 0.5684 GB, free: 13.45 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001972/0.1243, allocations: 235.1 kB / 0.5687 GB, free: 13.22 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1243, allocations: 0 / 0.5687 GB, free: 13.22 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003512/0.1247, allocations: 91.59 kB / 0.5688 GB, free: 13.13 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.0008257/0.1255, allocations: 0.9636 MB / 0.5697 GB, free: 12.14 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004975/0.126, allocations: 290.2 kB / 0.57 GB, free: 11.86 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.126, allocations: 0 / 0.57 GB, free: 11.86 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001662/0.1262, allocations: 97.31 kB / 0.5701 GB, free: 11.77 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004852/0.1267, allocations: 81.23 kB / 0.5701 GB, free: 11.69 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003647/0.1303, allocations: 3.051 MB / 0.5731 GB, free: 8.547 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002957/0.1306, allocations: 0.7755 MB / 0.5739 GB, free: 7.746 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001242/0.1308, allocations: 34.2 kB / 0.5739 GB, free: 7.715 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001461/0.1309, allocations: 103.4 kB / 0.574 GB, free: 7.613 MB / 446.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1309, allocations: 0 / 0.574 GB, free: 7.613 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6139/0.7448, allocations: 6.257 MB / 0.5801 GB, free: 1.488 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002011/0.7451, allocations: 212.1 kB / 0.5803 GB, free: 1.227 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.054/2.799, allocations: 4 kB / 0.5803 GB, free: 1.223 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)