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: translateModel(IBPSA.Utilities.IO.SignalExchange.Examples.FirstOrder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.FirstOrder") translateModel(IBPSA.Utilities.IO.SignalExchange.Examples.FirstOrder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.FirstOrder") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001014/0.001014, allocations: 101.3 kB / 16.27 MB, free: 6.414 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.001125/0.001125, allocations: 184.6 kB / 17.2 MB, free: 5.953 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.308/1.308, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7823/0.7823, allocations: 122.9 MB / 413.9 MB, free: 15.9 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001515/0.001515, allocations: 55.91 kB / 0.4911 GB, free: 7.422 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3879/0.3895, allocations: 77.92 MB / 0.5672 GB, free: 32.52 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.SignalExchange.Examples.FirstOrder): time 0.004586/0.3941, allocations: 2.593 MB / 0.5697 GB, free: 30.71 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001895/0.3961, allocations: 0.9089 MB / 0.5706 GB, free: 30.05 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002416/0.3963, allocations: 11.47 kB / 0.5706 GB, free: 30.04 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002394/0.3966, allocations: 62.69 kB / 0.5707 GB, free: 30 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001477/0.3968, allocations: 60.48 kB / 0.5707 GB, free: 29.95 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005062/0.3973, allocations: 239.6 kB / 0.571 GB, free: 29.79 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004804/0.3978, allocations: 451.5 kB / 0.5714 GB, free: 29.54 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003619/0.3981, allocations: 231.5 kB / 0.5716 GB, free: 29.42 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001501/0.3983, allocations: 145.2 kB / 0.5718 GB, free: 29.33 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001717/0.3985, allocations: 152.9 kB / 0.5719 GB, free: 29.23 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.299e-05/0.3986, allocations: 49.66 kB / 0.572 GB, free: 29.23 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.977e-05/0.3986, allocations: 51.06 kB / 0.572 GB, free: 29.23 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.882e-05/0.3987, allocations: 82.19 kB / 0.5721 GB, free: 29.17 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001363/0.3988, allocations: 195.8 kB / 0.5723 GB, free: 29.02 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006828/0.3995, allocations: 0.604 MB / 0.5729 GB, free: 28.77 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.3996, allocations: 0 / 0.5729 GB, free: 28.77 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.3996, allocations: 1.219 kB / 0.5729 GB, free: 28.77 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.807e-06/0.3996, allocations: 1.469 kB / 0.5729 GB, free: 28.77 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.0009096/0.4005, allocations: 0.6505 MB / 0.5735 GB, free: 28.23 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/0.4005, allocations: 9.328 kB / 0.5735 GB, free: 28.23 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.285e-05/0.4006, allocations: 44.53 kB / 0.5735 GB, free: 28.21 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000451/0.4011, allocations: 377.9 kB / 0.5739 GB, free: 27.88 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.019e-05/0.4011, allocations: 26.25 kB / 0.5739 GB, free: 27.87 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.209e-05/0.4012, allocations: 24.88 kB / 0.574 GB, free: 27.86 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006036/0.4018, allocations: 328 kB / 0.5743 GB, free: 27.69 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.528e-05/0.4018, allocations: 0.7031 kB / 0.5743 GB, free: 27.69 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.908e-05/0.4019, allocations: 15.03 kB / 0.5743 GB, free: 27.68 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.066e-05/0.4019, allocations: 6.906 kB / 0.5743 GB, free: 27.68 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004935/0.4024, allocations: 236.4 kB / 0.5745 GB, free: 27.58 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001489/0.4039, allocations: 1.167 MB / 0.5757 GB, free: 26.78 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005042/0.4044, allocations: 229.8 kB / 0.5759 GB, free: 26.67 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002275/0.4046, allocations: 99.38 kB / 0.576 GB, free: 26.62 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.501e-05/0.4047, allocations: 4.188 kB / 0.576 GB, free: 26.62 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.2e-05/0.4047, allocations: 35.78 kB / 0.576 GB, free: 26.58 MB / 446.1 MB Notification: Performance of pre-optimization done (n=16): time 1.493e-06/0.4047, allocations: 1.031 kB / 0.576 GB, free: 26.58 MB / 446.1 MB Notification: Performance of matching and sorting (n=16): time 0.0006767/0.4054, allocations: 296.5 kB / 0.5763 GB, free: 26.45 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.221e-05/0.4055, allocations: 80.95 kB / 0.5764 GB, free: 26.35 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003531/0.4058, allocations: 333.3 kB / 0.5767 GB, free: 26.16 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.873e-05/0.4058, allocations: 30.73 kB / 0.5767 GB, free: 26.12 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001209/0.406, allocations: 193.1 kB / 0.5769 GB, free: 25.96 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.622e-05/0.406, allocations: 58.94 kB / 0.577 GB, free: 25.92 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.189e-05/0.4061, allocations: 39.78 kB / 0.577 GB, free: 25.89 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.931e-05/0.4062, allocations: 341.5 kB / 0.5773 GB, free: 25.57 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001829/0.4064, allocations: 89.81 kB / 0.5774 GB, free: 25.52 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002038/0.4066, allocations: 123.9 kB / 0.5775 GB, free: 25.45 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003392/0.4069, allocations: 189.5 kB / 0.5777 GB, free: 25.35 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.407, allocations: 1.438 kB / 0.5777 GB, free: 25.35 MB / 446.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004604/0.4074, allocations: 249.8 kB / 0.5779 GB, free: 25.23 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.805e-05/0.4074, allocations: 9.906 kB / 0.578 GB, free: 25.23 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.702e-06/0.4075, allocations: 1.594 kB / 0.578 GB, free: 25.23 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.664e-05/0.4075, allocations: 2.047 kB / 0.578 GB, free: 25.23 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001925/0.4077, allocations: 33.84 kB / 0.578 GB, free: 25.22 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.746e-06/0.4077, allocations: 1.062 kB / 0.578 GB, free: 25.22 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001425/0.4078, allocations: 29.73 kB / 0.578 GB, free: 25.21 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.867e-05/0.4079, allocations: 8.688 kB / 0.578 GB, free: 25.2 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002235/0.4081, allocations: 197.1 kB / 0.5782 GB, free: 25.06 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001501/0.4083, allocations: 103 kB / 0.5783 GB, free: 25 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002713/0.4085, allocations: 160.6 kB / 0.5785 GB, free: 24.91 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.455e-06/0.4086, allocations: 0 / 0.5785 GB, free: 24.91 MB / 446.1 MB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.0003416/0.4089, allocations: 232.4 kB / 0.5787 GB, free: 24.78 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.456e-06/0.4089, allocations: 6.578 kB / 0.5787 GB, free: 24.78 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.354e-06/0.4089, allocations: 1.781 kB / 0.5787 GB, free: 24.78 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.766e-06/0.4089, allocations: 4.375 kB / 0.5787 GB, free: 24.78 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001196/0.4091, allocations: 35.16 kB / 0.5787 GB, free: 24.77 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.046e-06/0.4091, allocations: 3.344 kB / 0.5787 GB, free: 24.77 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000108/0.4092, allocations: 14.33 kB / 0.5788 GB, free: 24.76 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.349e-05/0.4092, allocations: 12.84 kB / 0.5788 GB, free: 24.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 8.009e-05/0.4093, allocations: 189.7 kB / 0.5789 GB, free: 24.57 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.22e-05/0.4093, allocations: 26.22 kB / 0.579 GB, free: 24.55 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.335e-05/0.4094, allocations: 39.56 kB / 0.579 GB, free: 24.53 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.4094, allocations: 3.406 kB / 0.579 GB, free: 24.53 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.223e-06/0.4094, allocations: 0.6562 kB / 0.579 GB, free: 24.53 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.4095, allocations: 6.281 kB / 0.579 GB, free: 24.52 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004425/0.4099, allocations: 410.1 kB / 0.5794 GB, free: 24.22 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.4099, allocations: 0.5625 kB / 0.5794 GB, free: 24.22 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001662/0.4101, allocations: 24.84 kB / 0.5794 GB, free: 24.22 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.4101, allocations: 2 kB / 0.5794 GB, free: 24.22 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.637e-05/0.4101, allocations: 5.375 kB / 0.5794 GB, free: 24.22 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.407e-06/0.4101, allocations: 2.578 kB / 0.5794 GB, free: 24.22 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.4101, allocations: 0.625 kB / 0.5794 GB, free: 24.22 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006229/0.4108, allocations: 444.7 kB / 0.5799 GB, free: 23.95 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.806e-05/0.4109, allocations: 128.7 kB / 0.58 GB, free: 23.82 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.916e-05/0.4109, allocations: 6.031 kB / 0.58 GB, free: 23.82 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000144/0.4111, allocations: 14.98 kB / 0.58 GB, free: 23.81 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.905e-05/0.4111, allocations: 17.31 kB / 0.58 GB, free: 23.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.047e-05/0.4112, allocations: 2.688 kB / 0.58 GB, free: 23.8 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002274/0.4114, allocations: 231.8 kB / 0.5802 GB, free: 23.68 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.4114, allocations: 0 / 0.5802 GB, free: 23.68 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003931/0.4118, allocations: 95.78 kB / 0.5803 GB, free: 23.65 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.0001121/0.4119, allocations: 107.1 kB / 0.5804 GB, free: 23.55 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005945/0.4125, allocations: 289.9 kB / 0.5807 GB, free: 23.45 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.4125, allocations: 0 / 0.5807 GB, free: 23.45 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001763/0.4127, allocations: 96.59 kB / 0.5808 GB, free: 23.41 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006271/0.4133, allocations: 85.91 kB / 0.5809 GB, free: 23.39 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001014/0.4144, allocations: 0.5635 MB / 0.5814 GB, free: 23.04 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002278/0.4146, allocations: 0.7763 MB / 0.5822 GB, free: 22.34 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001352/0.4148, allocations: 25.86 kB / 0.5822 GB, free: 22.34 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.506e-05/0.4148, allocations: 21.69 kB / 0.5822 GB, free: 22.33 MB / 446.1 MB Notification: Performance of SimCode: time 1.91e-07/0.4148, allocations: 0 / 0.5822 GB, free: 22.33 MB / 446.1 MB Notification: Performance of Templates: time 0.006464/0.4213, allocations: 3.165 MB / 0.5853 GB, free: 21.03 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.FirstOrder.makefile (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 & ./IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.FirstOrder -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe 2>&1)