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.001395/0.001395, allocations: 80.81 kB / 21.55 MB, free: 2.949 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.001599/0.001599, allocations: 165.5 kB / 24.96 MB, free: 8.711 MB / 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 0.9362/0.9362, allocations: 177.1 MB / 205.4 MB, free: 4.492 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.942/1.942, allocations: 389.6 MB / 0.6362 GB, free: 13.37 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.603e-06/1.603e-06, allocations: 0 / 0.7759 GB, free: 13.97 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.123e-05/2.283e-05, allocations: 2.312 kB / 0.776 GB, free: 13.96 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder): time 0.003871/0.003893, allocations: 2.593 MB / 0.7785 GB, free: 11.36 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001793/0.005687, allocations: 0.9503 MB / 0.7794 GB, free: 10.4 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002445/0.005931, allocations: 11.94 kB / 0.7794 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0002043/0.006135, allocations: 63.33 kB / 0.7795 GB, free: 10.33 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.000164/0.006299, allocations: 63.41 kB / 0.7795 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.000496/0.006795, allocations: 251.6 kB / 0.7798 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0004618/0.007257, allocations: 455.6 kB / 0.7802 GB, free: 9.574 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002389/0.007496, allocations: 143.7 kB / 0.7804 GB, free: 9.426 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002513/0.007747, allocations: 231.5 kB / 0.7806 GB, free: 9.199 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001192/0.007867, allocations: 103.6 kB / 0.7807 GB, free: 9.098 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.000192/0.008059, allocations: 52 kB / 0.7807 GB, free: 9.047 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 4.34e-05/0.008102, allocations: 48 kB / 0.7808 GB, free: 9 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 6.023e-05/0.008162, allocations: 95.69 kB / 0.7809 GB, free: 8.906 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 8.326e-05/0.008245, allocations: 111.7 kB / 0.781 GB, free: 8.797 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003247/0.00857, allocations: 290.9 kB / 0.7812 GB, free: 8.512 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.008573, allocations: 4 kB / 0.7812 GB, free: 8.508 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.172e-06/0.008575, allocations: 0 / 0.7812 GB, free: 8.508 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.967e-06/0.008579, allocations: 0 / 0.7812 GB, free: 8.508 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.0006343/0.009213, allocations: 0.5542 MB / 0.7818 GB, free: 7.93 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.326e-05/0.009246, allocations: 12.03 kB / 0.7818 GB, free: 7.918 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.897e-05/0.009315, allocations: 48.89 kB / 0.7818 GB, free: 7.871 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003103/0.009625, allocations: 257.7 kB / 0.7821 GB, free: 7.594 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.942e-05/0.009655, allocations: 21.03 kB / 0.7821 GB, free: 7.57 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.716e-05/0.009692, allocations: 28.33 kB / 0.7821 GB, free: 7.543 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000332/0.01002, allocations: 296.3 kB / 0.7824 GB, free: 7.219 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.748e-06/0.01003, allocations: 192 / 0.7824 GB, free: 7.219 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.979e-05/0.01005, allocations: 12.38 kB / 0.7824 GB, free: 7.207 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.039e-05/0.01006, allocations: 15.94 kB / 0.7825 GB, free: 7.191 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001109/0.01017, allocations: 64.44 kB / 0.7825 GB, free: 7.129 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009019/0.01108, allocations: 0.7394 MB / 0.7832 GB, free: 6.367 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00016/0.01124, allocations: 86.47 kB / 0.7833 GB, free: 6.273 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.208e-05/0.01128, allocations: 28.84 kB / 0.7833 GB, free: 6.242 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.256e-05/0.0113, allocations: 8 kB / 0.7834 GB, free: 6.234 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.864e-05/0.01132, allocations: 34.56 kB / 0.7834 GB, free: 6.191 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=16): time 1.473e-06/0.01132, allocations: 0 / 0.7834 GB, free: 6.191 MB / 0.7448 GB Notification: Performance of matching and sorting (n=16): time 0.0002101/0.01153, allocations: 109.5 kB / 0.7835 GB, free: 6.078 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.358e-05/0.01158, allocations: 110.8 kB / 0.7836 GB, free: 5.945 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001736/0.01175, allocations: 243 kB / 0.7838 GB, free: 5.695 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.949e-05/0.01177, allocations: 33.7 kB / 0.7839 GB, free: 5.656 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 9.162e-05/0.01186, allocations: 177.2 kB / 0.784 GB, free: 5.477 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.654e-05/0.0119, allocations: 55.47 kB / 0.7841 GB, free: 5.422 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.339e-05/0.01196, allocations: 41.69 kB / 0.7841 GB, free: 5.375 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.475e-05/0.01205, allocations: 346.8 kB / 0.7845 GB, free: 5.027 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.222e-05/0.0121, allocations: 20.84 kB / 0.7845 GB, free: 5.004 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.37e-05/0.01218, allocations: 115.2 kB / 0.7846 GB, free: 4.867 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001028/0.01228, allocations: 77.97 kB / 0.7847 GB, free: 4.785 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.01229, allocations: 0 / 0.7847 GB, free: 4.785 MB / 0.7448 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001572/0.01244, allocations: 109.5 kB / 0.7848 GB, free: 4.672 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.01246, allocations: 4 kB / 0.7848 GB, free: 4.668 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.01246, allocations: 0 / 0.7848 GB, free: 4.668 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.01247, allocations: 8.094 kB / 0.7848 GB, free: 4.66 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001294/0.0126, allocations: 35.92 kB / 0.7848 GB, free: 4.625 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.976e-06/0.01261, allocations: 0 / 0.7848 GB, free: 4.625 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.115e-05/0.01268, allocations: 15.94 kB / 0.7848 GB, free: 4.609 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.008e-05/0.01269, allocations: 4 kB / 0.7848 GB, free: 4.605 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 8.504e-05/0.01277, allocations: 108.1 kB / 0.7849 GB, free: 4.496 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 7.133e-05/0.01284, allocations: 103.7 kB / 0.785 GB, free: 4.367 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 8.645e-05/0.01293, allocations: 70.05 kB / 0.7851 GB, free: 4.293 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.12e-07/0.01293, allocations: 0 / 0.7851 GB, free: 4.293 MB / 0.7448 GB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.0001436/0.01307, allocations: 117.5 kB / 0.7852 GB, free: 4.172 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 7.494e-06/0.01308, allocations: 4 kB / 0.7852 GB, free: 4.168 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.825e-06/0.01308, allocations: 4 kB / 0.7852 GB, free: 4.164 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.445e-06/0.01309, allocations: 0 / 0.7852 GB, free: 4.164 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.429e-05/0.01318, allocations: 35.86 kB / 0.7852 GB, free: 4.129 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.154e-06/0.01318, allocations: 0 / 0.7852 GB, free: 4.129 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.084e-05/0.01325, allocations: 19.89 kB / 0.7853 GB, free: 4.109 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.103e-06/0.01326, allocations: 4 kB / 0.7853 GB, free: 4.105 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 8.844e-05/0.01335, allocations: 192.3 kB / 0.7855 GB, free: 3.91 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.916e-05/0.01339, allocations: 23.91 kB / 0.7855 GB, free: 3.887 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.795e-05/0.01345, allocations: 34.19 kB / 0.7855 GB, free: 3.855 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.01345, allocations: 7.938 kB / 0.7855 GB, free: 3.848 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.325e-06/0.01345, allocations: 0 / 0.7855 GB, free: 3.848 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.01346, allocations: 0 / 0.7855 GB, free: 3.848 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002333/0.01369, allocations: 185.7 kB / 0.7857 GB, free: 3.648 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.01369, allocations: 0 / 0.7857 GB, free: 3.648 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001111/0.0138, allocations: 31.98 kB / 0.7857 GB, free: 3.617 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.448e-06/0.01381, allocations: 7.922 kB / 0.7857 GB, free: 3.609 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.021e-05/0.01382, allocations: 0 / 0.7857 GB, free: 3.609 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.01382, allocations: 4 kB / 0.7857 GB, free: 3.605 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.01382, allocations: 0 / 0.7857 GB, free: 3.605 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002321/0.01405, allocations: 227.3 kB / 0.786 GB, free: 3.367 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 5.6e-05/0.01411, allocations: 27.75 kB / 0.786 GB, free: 3.34 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.309e-05/0.01413, allocations: 11.94 kB / 0.786 GB, free: 3.328 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.685e-05/0.01422, allocations: 7.984 kB / 0.786 GB, free: 3.32 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.743e-05/0.01426, allocations: 11.98 kB / 0.786 GB, free: 3.309 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.364e-06/0.01426, allocations: 4 kB / 0.786 GB, free: 3.305 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 7.884e-05/0.01434, allocations: 84.64 kB / 0.7861 GB, free: 3.219 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.01434, allocations: 0 / 0.7861 GB, free: 3.219 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002748/0.01462, allocations: 103.7 kB / 0.7862 GB, free: 3.117 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 0.0001076/0.01472, allocations: 96.39 kB / 0.7863 GB, free: 3.012 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002158/0.01494, allocations: 125.3 kB / 0.7864 GB, free: 2.887 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 5.67e-06/0.01495, allocations: 0 / 0.7864 GB, free: 2.887 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 5.56e-05/0.015, allocations: 44.77 kB / 0.7864 GB, free: 2.84 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003209/0.01532, allocations: 77.06 kB / 0.7865 GB, free: 2.766 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007127/0.01603, allocations: 0.4946 MB / 0.787 GB, free: 2.242 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.884e-05/0.01609, allocations: 84.31 kB / 0.7871 GB, free: 2.141 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001119/0.01621, allocations: 25.94 kB / 0.7871 GB, free: 2.117 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001464/0.01635, allocations: 99.22 kB / 0.7872 GB, free: 2.02 MB / 0.7448 GB Notification: Performance of SimCode: time 7.92e-07/0.01635, allocations: 0 / 0.7872 GB, free: 2.02 MB / 0.7448 GB Notification: Performance of Templates: time 0.006221/0.02257, allocations: 3.237 MB / 0.7904 GB, free: 14.82 MB / 0.7605 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: 5.131604650057852]