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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.0009699/0.0009699, allocations: 179.3 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.449/0.449, allocations: 90.81 MB / 104.5 MB, free: 9.785 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.257/1.257, allocations: 221.3 MB / 348.3 MB, free: 436 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008031/0.0008031, allocations: 95.09 kB / 421.2 MB, free: 5.48 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.232e-05/3.236e-05, allocations: 4 kB / 0.4897 GB, free: 5.262 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3535/0.3535, allocations: 72.3 MB / 0.5603 GB, free: 40.42 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1247/0.4783, allocations: 107.3 MB / 0.6651 GB, free: 12.98 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002338/0.4785, allocations: 83.45 kB / 0.6652 GB, free: 12.9 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01591/0.4945, allocations: 6.939 MB / 0.672 GB, free: 5.973 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.4945, allocations: 4 kB / 0.672 GB, free: 5.969 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.601e-05/0.4946, allocations: 8 kB / 0.672 GB, free: 5.961 MB / 490.7 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.0007813/0.4954, allocations: 0.5448 MB / 0.6725 GB, free: 5.367 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.498e-05/0.4954, allocations: 15.98 kB / 0.6725 GB, free: 5.352 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.85e-05/0.4955, allocations: 70.53 kB / 0.6726 GB, free: 5.273 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.996e-05/0.4956, allocations: 43.47 kB / 0.6726 GB, free: 5.23 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005005/0.4961, allocations: 374.8 kB / 0.673 GB, free: 4.824 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.644e-05/0.4962, allocations: 22.91 kB / 0.673 GB, free: 4.805 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.985e-05/0.4962, allocations: 32 kB / 0.673 GB, free: 4.773 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000486/0.4967, allocations: 301.4 kB / 0.6733 GB, free: 4.461 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.4967, allocations: 7.953 kB / 0.6733 GB, free: 4.453 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.877e-05/0.4968, allocations: 16 kB / 0.6733 GB, free: 4.438 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.437e-06/0.4968, allocations: 8 kB / 0.6734 GB, free: 4.43 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003414/0.4971, allocations: 198.2 kB / 0.6735 GB, free: 4.234 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001473/0.4986, allocations: 1.167 MB / 0.6747 GB, free: 3.008 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003837/0.499, allocations: 194.9 kB / 0.6749 GB, free: 2.809 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001258/0.4992, allocations: 92.8 kB / 0.675 GB, free: 2.715 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.572e-05/0.4992, allocations: 0 / 0.675 GB, free: 2.715 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.194e-05/0.4992, allocations: 34.56 kB / 0.675 GB, free: 2.672 MB / 490.7 MB Notification: Performance of pre-optimization done (n=16): time 1.132e-06/0.4992, allocations: 0 / 0.675 GB, free: 2.672 MB / 490.7 MB Notification: Performance of matching and sorting (n=16): time 0.0003695/0.4996, allocations: 190.2 kB / 0.6752 GB, free: 2.48 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.379e-05/0.4997, allocations: 81.09 kB / 0.6752 GB, free: 2.383 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003128/0.5, allocations: 291 kB / 0.6755 GB, free: 2.086 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.398e-05/0.5, allocations: 29.7 kB / 0.6756 GB, free: 2.051 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001292/0.5002, allocations: 204 kB / 0.6757 GB, free: 1.848 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.18e-05/0.5002, allocations: 51.2 kB / 0.6758 GB, free: 1.797 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.018e-05/0.5002, allocations: 4 kB / 0.6758 GB, free: 1.793 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001121/0.5003, allocations: 338.8 kB / 0.6761 GB, free: 1.453 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001076/0.5004, allocations: 68 kB / 0.6762 GB, free: 1.387 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001264/0.5006, allocations: 102.2 kB / 0.6763 GB, free: 1.277 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000121/0.5007, allocations: 80.94 kB / 0.6764 GB, free: 1.199 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.5007, allocations: 0 / 0.6764 GB, free: 1.199 MB / 490.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003163/0.501, allocations: 219.6 kB / 0.6766 GB, free: 0.9805 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001106/0.5012, allocations: 280.2 kB / 0.6768 GB, free: 0.6875 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.5012, allocations: 0 / 0.6768 GB, free: 0.6875 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.5012, allocations: 3.938 kB / 0.6768 GB, free: 0.6836 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001652/0.5014, allocations: 35.92 kB / 0.6769 GB, free: 0.6484 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.013e-05/0.5014, allocations: 4 kB / 0.6769 GB, free: 0.6445 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001403/0.5015, allocations: 27.83 kB / 0.6769 GB, free: 0.6172 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.5e-05/0.5016, allocations: 4 kB / 0.6769 GB, free: 0.6133 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.245e-06/0.5016, allocations: 8 kB / 0.6769 GB, free: 0.6055 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002653/0.5018, allocations: 161.2 kB / 0.6771 GB, free: 460 kB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.134e-06/0.5019, allocations: 0 / 0.6771 GB, free: 460 kB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.016e-06/0.5019, allocations: 0 / 0.6771 GB, free: 460 kB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001205/0.502, allocations: 31.94 kB / 0.6771 GB, free: 428 kB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.445e-06/0.502, allocations: 0.6562 kB / 0.6771 GB, free: 428 kB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001092/0.5021, allocations: 23.83 kB / 0.6771 GB, free: 404 kB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.145e-05/0.5021, allocations: 4 kB / 0.6771 GB, free: 400 kB / 490.7 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 (actSet.y,actAct.y,expMod.mod.conPI.I.local_reset) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.598e-05/0.5022, allocations: 121 kB / 0.6772 GB, free: 272 kB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.314e-05/0.5023, allocations: 31.62 kB / 0.6773 GB, free: 240 kB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.417e-05/0.5024, allocations: 35.06 kB / 0.6773 GB, free: 208 kB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.5024, allocations: 0 / 0.6773 GB, free: 208 kB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.5024, allocations: 2.438 kB / 0.6773 GB, free: 208 kB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.5024, allocations: 3.984 kB / 0.6773 GB, free: 204 kB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004176/0.5028, allocations: 417.2 kB / 0.6777 GB, free: 15.74 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.5028, allocations: 0 / 0.6777 GB, free: 15.74 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001645/0.503, allocations: 31.92 kB / 0.6777 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.796e-06/0.503, allocations: 4 kB / 0.6777 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.874e-05/0.503, allocations: 8 kB / 0.6778 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.255e-06/0.503, allocations: 3.203 kB / 0.6778 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.503, allocations: 0 / 0.6778 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004804/0.5035, allocations: 388.7 kB / 0.6781 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001151/0.5037, allocations: 136.7 kB / 0.6783 GB, free: 15.15 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.337e-05/0.5037, allocations: 0 / 0.6783 GB, free: 15.15 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001621/0.5039, allocations: 20.05 kB / 0.6783 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.89e-05/0.5039, allocations: 11.92 kB / 0.6783 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.236e-05/0.5039, allocations: 8 kB / 0.6783 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0002363/0.5042, allocations: 230.2 kB / 0.6785 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5042, allocations: 0 / 0.6785 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003597/0.5046, allocations: 87.69 kB / 0.6786 GB, free: 14.8 MB / 0.4948 GB 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 (actSet.y,actAct.y) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000739/0.5053, allocations: 0.9409 MB / 0.6795 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0004115/0.5057, allocations: 255.5 kB / 0.6798 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.5057, allocations: 0 / 0.6798 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.000129/0.5059, allocations: 79.94 kB / 0.6798 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000455/0.5063, allocations: 73.08 kB / 0.6799 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001069/0.5074, allocations: 482.1 kB / 0.6804 GB, free: 12.94 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003701/0.5078, allocations: 0.7882 MB / 0.6811 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0002082/0.508, allocations: 43.05 kB / 0.6812 GB, free: 12.08 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001539/0.5082, allocations: 105.2 kB / 0.6813 GB, free: 11.98 MB / 0.4948 GB Notification: Performance of SimCode: time 4.41e-07/0.5082, allocations: 0 / 0.6813 GB, free: 11.98 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01866/0.5269, allocations: 6.577 MB / 0.6877 GB, free: 5.582 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001852/0.5271, allocations: 153.9 kB / 0.6879 GB, free: 5.359 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.839/2.366, allocations: 4 kB / 0.6879 GB, free: 5.355 MB / 0.4948 GB (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/linux/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)