Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.IO.SignalExchange.Examples.FirstOrder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.FirstOrder") translateModel(BuildingSystems.Utilities.IO.SignalExchange.Examples.FirstOrder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001329/0.001329, allocations: 105.7 kB / 16.41 MB, free: 6.492 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.001194/0.001194, allocations: 185.5 kB / 17.34 MB, free: 5.742 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.293/1.293, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002138/0.002138, allocations: 285.3 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9082/0.9082, allocations: 169.3 MB / 0.499 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001696/0.001696, allocations: 95.86 kB / 0.6821 GB, free: 6.988 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4145/0.4162, allocations: 86.97 MB / 0.767 GB, free: 3.91 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.SignalExchange.Examples.FirstOrder): time 0.006267/0.4226, allocations: 2.613 MB / 0.7696 GB, free: 1.273 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002444/0.425, allocations: 0.8963 MB / 0.7704 GB, free: 380 kB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003724/0.4254, allocations: 11.94 kB / 0.7705 GB, free: 368 kB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003339/0.4258, allocations: 63.39 kB / 0.7705 GB, free: 304 kB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.000295/0.4261, allocations: 71.33 kB / 0.7706 GB, free: 232 kB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008573/0.427, allocations: 235.2 kB / 0.7708 GB, free: 0 / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0007917/0.4278, allocations: 459.7 kB / 0.7712 GB, free: 15.55 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005501/0.4284, allocations: 224.8 kB / 0.7715 GB, free: 15.34 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00025/0.4287, allocations: 147.3 kB / 0.7716 GB, free: 15.19 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002461/0.4289, allocations: 147.2 kB / 0.7717 GB, free: 15.05 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.000102/0.4291, allocations: 56 kB / 0.7718 GB, free: 14.99 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 9.605e-05/0.4292, allocations: 48 kB / 0.7718 GB, free: 14.95 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001638/0.4294, allocations: 99.69 kB / 0.7719 GB, free: 14.85 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.000255/0.4296, allocations: 183 kB / 0.7721 GB, free: 14.67 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0008778/0.4305, allocations: 0.6177 MB / 0.7727 GB, free: 14.05 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.4306, allocations: 0 / 0.7727 GB, free: 14.05 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.544e-06/0.4306, allocations: 0 / 0.7727 GB, free: 14.05 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.367e-05/0.4306, allocations: 0 / 0.7727 GB, free: 14.05 MB / 0.545 GB 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.001071/0.4317, allocations: 0.6429 MB / 0.7733 GB, free: 13.36 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.546e-05/0.4317, allocations: 12.03 kB / 0.7734 GB, free: 13.34 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.644e-05/0.4318, allocations: 44.47 kB / 0.7734 GB, free: 13.3 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000559/0.4324, allocations: 387.2 kB / 0.7738 GB, free: 12.89 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.867e-05/0.4324, allocations: 24.94 kB / 0.7738 GB, free: 12.86 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.312e-05/0.4325, allocations: 28.36 kB / 0.7738 GB, free: 12.84 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006506/0.4331, allocations: 333.7 kB / 0.7741 GB, free: 12.5 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.4332, allocations: 0 / 0.7741 GB, free: 12.5 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.188e-05/0.4332, allocations: 8 kB / 0.7741 GB, free: 12.49 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.149e-05/0.4332, allocations: 8 kB / 0.7742 GB, free: 12.48 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005331/0.4338, allocations: 242 kB / 0.7744 GB, free: 12.24 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001718/0.4355, allocations: 1.155 MB / 0.7755 GB, free: 11.03 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000579/0.4361, allocations: 230.8 kB / 0.7757 GB, free: 10.79 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002329/0.4363, allocations: 103.8 kB / 0.7758 GB, free: 10.69 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.728e-05/0.4364, allocations: 4 kB / 0.7758 GB, free: 10.69 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.604e-05/0.4364, allocations: 30.56 kB / 0.7759 GB, free: 10.65 MB / 0.545 GB Notification: Performance of pre-optimization done (n=16): time 1.703e-06/0.4364, allocations: 0 / 0.7759 GB, free: 10.65 MB / 0.545 GB Notification: Performance of matching and sorting (n=16): time 0.000734/0.4371, allocations: 301.1 kB / 0.7761 GB, free: 10.35 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.477e-05/0.4372, allocations: 85.11 kB / 0.7762 GB, free: 10.25 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004103/0.4376, allocations: 332.4 kB / 0.7765 GB, free: 9.906 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.562e-05/0.4377, allocations: 25.7 kB / 0.7766 GB, free: 9.875 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001902/0.4379, allocations: 196.1 kB / 0.7768 GB, free: 9.68 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.063e-05/0.4379, allocations: 55.19 kB / 0.7768 GB, free: 9.625 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.915e-05/0.438, allocations: 41.7 kB / 0.7769 GB, free: 9.578 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001473/0.4382, allocations: 338.8 kB / 0.7772 GB, free: 9.238 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002298/0.4384, allocations: 92.81 kB / 0.7773 GB, free: 9.145 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002081/0.4386, allocations: 119.3 kB / 0.7774 GB, free: 9.016 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003372/0.439, allocations: 200.9 kB / 0.7776 GB, free: 8.812 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.439, allocations: 0 / 0.7776 GB, free: 8.812 MB / 0.545 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004627/0.4394, allocations: 249.2 kB / 0.7778 GB, free: 8.562 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.257e-05/0.4395, allocations: 11.12 kB / 0.7778 GB, free: 8.555 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.889e-06/0.4395, allocations: 0 / 0.7778 GB, free: 8.555 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.695e-05/0.4395, allocations: 0 / 0.7778 GB, free: 8.555 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001791/0.4397, allocations: 35.92 kB / 0.7779 GB, free: 8.52 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.4397, allocations: 4.062 kB / 0.7779 GB, free: 8.516 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001266/0.4399, allocations: 31.67 kB / 0.7779 GB, free: 8.484 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.497e-05/0.4399, allocations: 4 kB / 0.7779 GB, free: 8.48 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002191/0.4401, allocations: 198.5 kB / 0.7781 GB, free: 8.285 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001399/0.4403, allocations: 101.5 kB / 0.7782 GB, free: 8.176 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002491/0.4405, allocations: 174.5 kB / 0.7783 GB, free: 7.996 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.91e-07/0.4405, allocations: 0 / 0.7783 GB, free: 7.996 MB / 0.545 GB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.0003642/0.4409, allocations: 225.1 kB / 0.7786 GB, free: 7.77 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 7.184e-06/0.4409, allocations: 4 kB / 0.7786 GB, free: 7.766 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.453e-06/0.4409, allocations: 0 / 0.7786 GB, free: 7.766 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.629e-06/0.4409, allocations: 4 kB / 0.7786 GB, free: 7.762 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001315/0.4411, allocations: 35.86 kB / 0.7786 GB, free: 7.727 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.4411, allocations: 8.062 kB / 0.7786 GB, free: 7.719 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001038/0.4412, allocations: 11.98 kB / 0.7786 GB, free: 7.707 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.126e-05/0.4412, allocations: 7.938 kB / 0.7786 GB, free: 7.699 MB / 0.545 GB 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.0001052/0.4413, allocations: 184.3 kB / 0.7788 GB, free: 7.512 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.152e-05/0.4414, allocations: 31.62 kB / 0.7788 GB, free: 7.48 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.909e-05/0.4415, allocations: 35.28 kB / 0.7789 GB, free: 7.445 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-06/0.4415, allocations: 3.938 kB / 0.7789 GB, free: 7.441 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.4415, allocations: 0 / 0.7789 GB, free: 7.441 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/0.4415, allocations: 3.938 kB / 0.7789 GB, free: 7.438 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004039/0.4419, allocations: 413.2 kB / 0.7793 GB, free: 6.984 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.4419, allocations: 4 kB / 0.7793 GB, free: 6.98 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001664/0.4421, allocations: 31.92 kB / 0.7793 GB, free: 6.949 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.4421, allocations: 0 / 0.7793 GB, free: 6.949 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.365e-05/0.4421, allocations: 0 / 0.7793 GB, free: 6.949 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.205e-05/0.4421, allocations: 7.984 kB / 0.7793 GB, free: 6.941 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.4421, allocations: 3.984 kB / 0.7793 GB, free: 6.938 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006883/0.4428, allocations: 437.9 kB / 0.7797 GB, free: 6.496 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001198/0.4429, allocations: 128.7 kB / 0.7799 GB, free: 6.352 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.767e-05/0.443, allocations: 8 kB / 0.7799 GB, free: 6.344 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001403/0.4431, allocations: 11.98 kB / 0.7799 GB, free: 6.332 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.047e-05/0.4432, allocations: 15.86 kB / 0.7799 GB, free: 6.316 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.919e-06/0.4432, allocations: 4 kB / 0.7799 GB, free: 6.312 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002131/0.4434, allocations: 239.1 kB / 0.7801 GB, free: 6.082 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4434, allocations: 4.062 kB / 0.7801 GB, free: 6.078 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003723/0.4438, allocations: 95.53 kB / 0.7802 GB, free: 5.984 MB / 0.545 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 (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.942e-05/0.4439, allocations: 95.25 kB / 0.7803 GB, free: 5.883 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005969/0.4445, allocations: 287.2 kB / 0.7806 GB, free: 5.605 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.4445, allocations: 256 / 0.7806 GB, free: 5.605 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001787/0.4447, allocations: 99.91 kB / 0.7807 GB, free: 5.508 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004956/0.4452, allocations: 82.23 kB / 0.7808 GB, free: 5.43 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001056/0.4463, allocations: 0.5879 MB / 0.7813 GB, free: 4.812 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003263/0.4466, allocations: 0.7753 MB / 0.7821 GB, free: 4.012 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.646e-05/0.4467, allocations: 23.44 kB / 0.7821 GB, free: 3.988 MB / 0.545 GB Notification: Performance of SimCode: time 2.1e-07/0.4467, allocations: 0 / 0.7821 GB, free: 3.988 MB / 0.545 GB Notification: Performance of Templates: time 0.00619/0.4529, allocations: 4.024 MB / 0.786 GB, free: 15.98 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.FirstOrder.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.FirstOrder.sim & ./BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.FirstOrder -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe 2>&1)