Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001011/0.001011, allocations: 80.92 kB / 20.75 MB, free: 3.742 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001107/0.001107, allocations: 161 kB / 24.17 MB, free: 332 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.019/1.019, allocations: 177.1 MB / 204.6 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.927/1.927, allocations: 389.6 MB / 0.6354 GB, free: 12.32 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder") translateModel(Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.283e-06/1.283e-06, allocations: 0 / 0.7751 GB, free: 5.328 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.134e-05/1.263e-05, allocations: 2.312 kB / 0.7751 GB, free: 5.324 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder): time 0.002743/0.002756, allocations: 2.541 MB / 0.7776 GB, free: 2.805 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001362/0.004118, allocations: 0.9596 MB / 0.7785 GB, free: 1.84 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001812/0.004299, allocations: 16.53 kB / 0.7786 GB, free: 1.824 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0001708/0.00447, allocations: 56 kB / 0.7786 GB, free: 1.77 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0001266/0.004597, allocations: 73.2 kB / 0.7787 GB, free: 1.699 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.000394/0.004991, allocations: 236.4 kB / 0.7789 GB, free: 1.469 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.000339/0.005329, allocations: 463.5 kB / 0.7793 GB, free: 1.016 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001976/0.005527, allocations: 153 kB / 0.7795 GB, free: 0.8672 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001883/0.005715, allocations: 227.5 kB / 0.7797 GB, free: 0.6445 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001042/0.00582, allocations: 109 kB / 0.7798 GB, free: 0.5391 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 4.213e-05/0.005862, allocations: 48 kB / 0.7799 GB, free: 0.4922 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 3.685e-05/0.005899, allocations: 52 kB / 0.7799 GB, free: 452 kB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0001298/0.006028, allocations: 95.62 kB / 0.78 GB, free: 356 kB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 7.13e-05/0.0061, allocations: 108.2 kB / 0.7801 GB, free: 248 kB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0002686/0.006368, allocations: 287.9 kB / 0.7804 GB, free: 15.96 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.784e-06/0.00637, allocations: 4 kB / 0.7804 GB, free: 15.96 MB / 0.7448 GB Notification: Performance of FrontEnd: time 7.72e-07/0.006371, allocations: 1.719 kB / 0.7804 GB, free: 15.96 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.548e-06/0.006375, allocations: 7.922 kB / 0.7804 GB, free: 15.95 MB / 0.7448 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.00055/0.006925, allocations: 0.552 MB / 0.7809 GB, free: 15.37 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.256e-05/0.006958, allocations: 12.75 kB / 0.7809 GB, free: 15.36 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.862e-05/0.007017, allocations: 48.89 kB / 0.781 GB, free: 15.31 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002628/0.007279, allocations: 260.5 kB / 0.7812 GB, free: 15.04 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.476e-05/0.007304, allocations: 21.03 kB / 0.7813 GB, free: 15.02 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.521e-05/0.007339, allocations: 28.38 kB / 0.7813 GB, free: 14.99 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000271/0.00761, allocations: 300 kB / 0.7816 GB, free: 14.66 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.858e-06/0.00762, allocations: 192 / 0.7816 GB, free: 14.66 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.703e-05/0.007637, allocations: 12.38 kB / 0.7816 GB, free: 14.65 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.268e-06/0.007646, allocations: 11.94 kB / 0.7816 GB, free: 14.64 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.999e-05/0.007736, allocations: 64.5 kB / 0.7817 GB, free: 14.58 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007146/0.008451, allocations: 0.7254 MB / 0.7824 GB, free: 13.83 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001433/0.008594, allocations: 98.38 kB / 0.7825 GB, free: 13.72 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.789e-05/0.008632, allocations: 28.86 kB / 0.7825 GB, free: 13.69 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.623e-05/0.008649, allocations: 0.6562 kB / 0.7825 GB, free: 13.69 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.105e-05/0.00867, allocations: 34.56 kB / 0.7825 GB, free: 13.65 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=16): time 1.122e-06/0.008671, allocations: 1.094 kB / 0.7825 GB, free: 13.65 MB / 0.7448 GB Notification: Performance of matching and sorting (n=16): time 0.0001783/0.008849, allocations: 109.6 kB / 0.7826 GB, free: 13.54 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.262e-05/0.008892, allocations: 106.8 kB / 0.7827 GB, free: 13.41 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001396/0.009031, allocations: 248.3 kB / 0.783 GB, free: 13.16 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.538e-05/0.009047, allocations: 33.64 kB / 0.783 GB, free: 13.12 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.522e-05/0.009122, allocations: 169.2 kB / 0.7832 GB, free: 12.95 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.217e-05/0.009154, allocations: 68.12 kB / 0.7832 GB, free: 12.88 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.785e-05/0.009202, allocations: 41.67 kB / 0.7833 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 8.013e-05/0.009282, allocations: 344.1 kB / 0.7836 GB, free: 12.49 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.133e-05/0.009313, allocations: 16.86 kB / 0.7836 GB, free: 12.47 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.685e-05/0.00938, allocations: 108.7 kB / 0.7837 GB, free: 12.34 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.027e-05/0.00946, allocations: 73.92 kB / 0.7838 GB, free: 12.26 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.009463, allocations: 0 / 0.7838 GB, free: 12.26 MB / 0.7448 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001167/0.009579, allocations: 114.5 kB / 0.7839 GB, free: 12.14 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.131e-05/0.009591, allocations: 4 kB / 0.7839 GB, free: 12.14 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.009596, allocations: 4.5 kB / 0.7839 GB, free: 12.14 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.009609, allocations: 0.9062 kB / 0.7839 GB, free: 12.14 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.463e-05/0.009703, allocations: 31.98 kB / 0.7839 GB, free: 12.11 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.897e-06/0.009707, allocations: 1.312 kB / 0.7839 GB, free: 12.11 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.652e-05/0.009764, allocations: 19.88 kB / 0.784 GB, free: 12.09 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.348e-06/0.009773, allocations: 8 kB / 0.784 GB, free: 12.08 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 6.787e-05/0.009841, allocations: 100.7 kB / 0.7841 GB, free: 11.98 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 5.793e-05/0.009899, allocations: 117.7 kB / 0.7842 GB, free: 11.84 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 7.22e-05/0.009971, allocations: 65.94 kB / 0.7842 GB, free: 11.77 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.633e-06/0.009973, allocations: 3.984 kB / 0.7842 GB, free: 11.76 MB / 0.7448 GB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.0001013/0.01007, allocations: 118.8 kB / 0.7843 GB, free: 11.64 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 5.31e-06/0.01008, allocations: 6.812 kB / 0.7844 GB, free: 11.64 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.613e-06/0.01008, allocations: 0.5312 kB / 0.7844 GB, free: 11.64 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.988e-06/0.01008, allocations: 7.984 kB / 0.7844 GB, free: 11.63 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.833e-05/0.01014, allocations: 23.25 kB / 0.7844 GB, free: 11.61 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.535e-06/0.01015, allocations: 4 kB / 0.7844 GB, free: 11.61 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.987e-05/0.0102, allocations: 15.98 kB / 0.7844 GB, free: 11.59 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.837e-06/0.0102, allocations: 0 / 0.7844 GB, free: 11.59 MB / 0.7448 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 7.239e-05/0.01027, allocations: 192.1 kB / 0.7846 GB, free: 11.39 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.865e-05/0.0103, allocations: 27.92 kB / 0.7846 GB, free: 11.37 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.087e-05/0.01034, allocations: 26.19 kB / 0.7846 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.01034, allocations: 6.906 kB / 0.7846 GB, free: 11.33 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.784e-06/0.01035, allocations: 0 / 0.7846 GB, free: 11.33 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.01035, allocations: 3.984 kB / 0.7846 GB, free: 11.33 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001683/0.01052, allocations: 193.7 kB / 0.7848 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.41e-07/0.01052, allocations: 0 / 0.7848 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.356e-05/0.01059, allocations: 27.92 kB / 0.7849 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.0106, allocations: 7.875 kB / 0.7849 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.081e-05/0.01061, allocations: 4 kB / 0.7849 GB, free: 11.08 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.01061, allocations: 1.5 kB / 0.7849 GB, free: 11.08 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.01061, allocations: 0 / 0.7849 GB, free: 11.08 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001851/0.01079, allocations: 219.4 kB / 0.7851 GB, free: 10.85 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.656e-05/0.01084, allocations: 27.8 kB / 0.7851 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.389e-05/0.01086, allocations: 13.06 kB / 0.7851 GB, free: 10.81 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.869e-05/0.01092, allocations: 4 kB / 0.7851 GB, free: 10.81 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.048e-05/0.01095, allocations: 12.88 kB / 0.7851 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.832e-06/0.01096, allocations: 8 kB / 0.7851 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 6.092e-05/0.01102, allocations: 88.62 kB / 0.7852 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.01102, allocations: 0.875 kB / 0.7852 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001945/0.01121, allocations: 103.6 kB / 0.7853 GB, free: 10.6 MB / 0.7448 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 7.457e-05/0.01129, allocations: 86.08 kB / 0.7854 GB, free: 10.51 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001658/0.01146, allocations: 121.1 kB / 0.7855 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.01146, allocations: 0 / 0.7855 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.459e-05/0.0115, allocations: 44.78 kB / 0.7856 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002416/0.01174, allocations: 86.02 kB / 0.7856 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005732/0.01232, allocations: 0.4946 MB / 0.7861 GB, free: 9.742 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.899e-05/0.01237, allocations: 89.8 kB / 0.7862 GB, free: 9.637 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 7.441e-05/0.01244, allocations: 17.95 kB / 0.7862 GB, free: 9.617 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001224/0.01256, allocations: 100.7 kB / 0.7863 GB, free: 9.52 MB / 0.7448 GB Notification: Performance of SimCode: time 7.21e-07/0.01256, allocations: 0 / 0.7863 GB, free: 9.52 MB / 0.7448 GB Notification: Performance of Templates: time 0.005308/0.01787, allocations: 3.235 MB / 0.7895 GB, free: 6.453 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; mkfifo Buildings_13_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe >> ../files/Buildings_13_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.sim & ./Buildings_13_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.939361780881882]