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.001252/0.001252, allocations: 103.9 kB / 16.94 MB, free: 6.191 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.001324/0.001324, allocations: 191.4 kB / 17.86 MB, free: 5.293 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.445/1.445, allocations: 222.9 MB / 241.6 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7944/0.7944, allocations: 122.8 MB / 414.6 MB, free: 15.95 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001458/0.001458, allocations: 59.91 kB / 0.4917 GB, free: 7.469 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4109/0.4124, allocations: 77.92 MB / 0.5678 GB, free: 32.95 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.SignalExchange.Examples.FirstOrder): time 0.004363/0.4168, allocations: 2.591 MB / 0.5704 GB, free: 31.14 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001631/0.4185, allocations: 0.9147 MB / 0.5713 GB, free: 30.47 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002309/0.4187, allocations: 13.16 kB / 0.5713 GB, free: 30.46 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002284/0.419, allocations: 62.25 kB / 0.5713 GB, free: 30.42 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001516/0.4191, allocations: 65.58 kB / 0.5714 GB, free: 30.37 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005112/0.4197, allocations: 231.1 kB / 0.5716 GB, free: 30.21 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004653/0.4201, allocations: 456.2 kB / 0.5721 GB, free: 29.96 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003709/0.4205, allocations: 226.5 kB / 0.5723 GB, free: 29.85 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001526/0.4207, allocations: 143.6 kB / 0.5724 GB, free: 29.76 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001779/0.4209, allocations: 150 kB / 0.5725 GB, free: 29.66 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.007e-05/0.4209, allocations: 50.09 kB / 0.5726 GB, free: 29.66 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.682e-05/0.421, allocations: 50.84 kB / 0.5726 GB, free: 29.66 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.473e-05/0.4211, allocations: 91.06 kB / 0.5727 GB, free: 29.59 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001372/0.4212, allocations: 186.2 kB / 0.5729 GB, free: 29.45 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006701/0.4219, allocations: 0.6045 MB / 0.5735 GB, free: 29.2 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.4219, allocations: 1.625 kB / 0.5735 GB, free: 29.2 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.4219, allocations: 1.031 kB / 0.5735 GB, free: 29.2 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.085e-05/0.4219, allocations: 0 / 0.5735 GB, free: 29.2 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.0008991/0.4229, allocations: 0.6438 MB / 0.5741 GB, free: 28.66 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/0.4229, allocations: 9.969 kB / 0.5741 GB, free: 28.66 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.302e-05/0.423, allocations: 45.09 kB / 0.5742 GB, free: 28.64 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003955/0.4234, allocations: 387 kB / 0.5746 GB, free: 28.31 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.053e-05/0.4234, allocations: 21.84 kB / 0.5746 GB, free: 28.3 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.867e-05/0.4235, allocations: 25.25 kB / 0.5746 GB, free: 28.29 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005822/0.4241, allocations: 333.3 kB / 0.5749 GB, free: 28.11 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.4241, allocations: 1.156 kB / 0.5749 GB, free: 28.11 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.941e-05/0.4241, allocations: 11.03 kB / 0.5749 GB, free: 28.11 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.128e-05/0.4241, allocations: 6.656 kB / 0.5749 GB, free: 28.11 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004832/0.4246, allocations: 239.9 kB / 0.5752 GB, free: 28.01 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001505/0.4261, allocations: 1.163 MB / 0.5763 GB, free: 27.21 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005071/0.4267, allocations: 234 kB / 0.5765 GB, free: 27.1 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002155/0.4269, allocations: 99.78 kB / 0.5766 GB, free: 27.05 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.161e-05/0.4269, allocations: 4.422 kB / 0.5766 GB, free: 27.05 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.55e-05/0.427, allocations: 31.72 kB / 0.5767 GB, free: 27.01 MB / 446.1 MB Notification: Performance of pre-optimization done (n=16): time 2.345e-06/0.427, allocations: 0 / 0.5767 GB, free: 27.01 MB / 446.1 MB Notification: Performance of matching and sorting (n=16): time 0.0007207/0.4277, allocations: 304.3 kB / 0.5769 GB, free: 26.87 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.834e-05/0.4278, allocations: 84.62 kB / 0.577 GB, free: 26.77 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003751/0.4281, allocations: 331 kB / 0.5773 GB, free: 26.58 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.112e-05/0.4282, allocations: 30.86 kB / 0.5774 GB, free: 26.55 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001298/0.4283, allocations: 192.5 kB / 0.5776 GB, free: 26.39 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.004e-05/0.4284, allocations: 54.89 kB / 0.5776 GB, free: 26.34 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.557e-05/0.4284, allocations: 40.39 kB / 0.5776 GB, free: 26.32 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.166e-05/0.4285, allocations: 340.4 kB / 0.578 GB, free: 25.99 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001902/0.4287, allocations: 89.84 kB / 0.5781 GB, free: 25.95 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002063/0.4289, allocations: 116.5 kB / 0.5782 GB, free: 25.88 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003451/0.4293, allocations: 193.1 kB / 0.5783 GB, free: 25.78 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-06/0.4293, allocations: 1.344 kB / 0.5783 GB, free: 25.78 MB / 446.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004611/0.4298, allocations: 256.4 kB / 0.5786 GB, free: 25.66 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.4298, allocations: 8.312 kB / 0.5786 GB, free: 25.66 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/0.4298, allocations: 0 / 0.5786 GB, free: 25.66 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.635e-05/0.4298, allocations: 1.781 kB / 0.5786 GB, free: 25.66 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000192/0.43, allocations: 32.72 kB / 0.5786 GB, free: 25.65 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.646e-06/0.43, allocations: 2.562 kB / 0.5786 GB, free: 25.65 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001316/0.4302, allocations: 31.5 kB / 0.5787 GB, free: 25.63 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.726e-05/0.4302, allocations: 4.969 kB / 0.5787 GB, free: 25.63 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002186/0.4304, allocations: 195.8 kB / 0.5789 GB, free: 25.49 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001545/0.4306, allocations: 99.72 kB / 0.579 GB, free: 25.43 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002822/0.4309, allocations: 166.5 kB / 0.5791 GB, free: 25.33 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.92e-07/0.4309, allocations: 2 kB / 0.5791 GB, free: 25.33 MB / 446.1 MB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.0003826/0.4313, allocations: 230.5 kB / 0.5793 GB, free: 25.21 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.209e-05/0.4313, allocations: 6.438 kB / 0.5793 GB, free: 25.21 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.442e-06/0.4313, allocations: 3.938 kB / 0.5793 GB, free: 25.21 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.208e-06/0.4313, allocations: 2.812 kB / 0.5793 GB, free: 25.21 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001322/0.4315, allocations: 28.52 kB / 0.5794 GB, free: 25.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.198e-06/0.4315, allocations: 2.344 kB / 0.5794 GB, free: 25.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001151/0.4316, allocations: 26.22 kB / 0.5794 GB, free: 25.19 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.348e-05/0.4316, allocations: 8.812 kB / 0.5794 GB, free: 25.18 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 0.0001017/0.4317, allocations: 183.8 kB / 0.5796 GB, free: 25 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.806e-05/0.4318, allocations: 26.89 kB / 0.5796 GB, free: 24.99 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.824e-05/0.4319, allocations: 36.67 kB / 0.5796 GB, free: 24.96 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/0.4319, allocations: 6.078 kB / 0.5797 GB, free: 24.96 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.835e-06/0.4319, allocations: 1.594 kB / 0.5797 GB, free: 24.96 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.745e-06/0.4319, allocations: 5.203 kB / 0.5797 GB, free: 24.96 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004702/0.4324, allocations: 408.3 kB / 0.58 GB, free: 24.66 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.4324, allocations: 1.391 kB / 0.58 GB, free: 24.66 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001801/0.4326, allocations: 28.59 kB / 0.5801 GB, free: 24.65 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.4326, allocations: 2.125 kB / 0.5801 GB, free: 24.65 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.9e-05/0.4326, allocations: 7.078 kB / 0.5801 GB, free: 24.65 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.4326, allocations: 5.312 kB / 0.5801 GB, free: 24.64 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.4326, allocations: 0 / 0.5801 GB, free: 24.64 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006809/0.4333, allocations: 439.6 kB / 0.5805 GB, free: 24.38 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.931e-05/0.4334, allocations: 133 kB / 0.5806 GB, free: 24.25 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.683e-05/0.4335, allocations: 5.375 kB / 0.5806 GB, free: 24.24 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001392/0.4336, allocations: 8.406 kB / 0.5806 GB, free: 24.24 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.515e-05/0.4337, allocations: 17.52 kB / 0.5807 GB, free: 24.23 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.05e-05/0.4337, allocations: 3.531 kB / 0.5807 GB, free: 24.23 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002406/0.434, allocations: 232.9 kB / 0.5809 GB, free: 24.11 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.434, allocations: 0 / 0.5809 GB, free: 24.11 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003934/0.4344, allocations: 96.7 kB / 0.581 GB, free: 24.08 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 9.89e-05/0.4345, allocations: 101.1 kB / 0.5811 GB, free: 23.99 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0006263/0.4351, allocations: 287 kB / 0.5814 GB, free: 23.88 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.4351, allocations: 0 / 0.5814 GB, free: 23.88 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001902/0.4353, allocations: 97.39 kB / 0.5814 GB, free: 23.85 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005945/0.4359, allocations: 86.89 kB / 0.5815 GB, free: 23.83 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001105/0.437, allocations: 0.5961 MB / 0.5821 GB, free: 23.44 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002822/0.4373, allocations: 0.7742 MB / 0.5829 GB, free: 22.74 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.096e-05/0.4374, allocations: 22.48 kB / 0.5829 GB, free: 22.73 MB / 446.1 MB Notification: Performance of SimCode: time 3.91e-07/0.4374, allocations: 8.562 kB / 0.5829 GB, free: 22.73 MB / 446.1 MB Notification: Performance of Templates: time 0.006809/0.4442, allocations: 3.97 MB / 0.5868 GB, free: 20.85 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)