Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.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.001701/0.001701, allocations: 79.73 kB / 19.76 MB, free: 1.871 MB / 14.72 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.001781/0.001781, allocations: 157.5 kB / 23.01 MB, free: 4.602 MB / 14.72 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.449/1.449, allocations: 177.2 MB / 203.4 MB, free: 8.945 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8305/0.8305, allocations: 101.3 MB / 361.1 MB, free: 8.801 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=8760,variableFilter="",fileNamePrefix="IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements") translateModel(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=8760,variableFilter="",fileNamePrefix="IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements") [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002389/0.002389, allocations: 70.72 kB / 0.5356 GB, free: 12.76 MB / 462.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of FrontEnd - Absyn->SCode: time 0.1855/0.1879, allocations: 85.87 MB / 0.6195 GB, free: 6.859 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements): time 0.5544/0.7423, allocations: 141.9 MB / 0.7581 GB, free: 5.5 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.04115/0.7835, allocations: 24.55 MB / 0.782 GB, free: 12.87 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00332/0.7868, allocations: 95.25 kB / 0.7821 GB, free: 12.78 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.002985/0.7898, allocations: 1.033 MB / 0.7831 GB, free: 11.74 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.005834/0.7956, allocations: 1.737 MB / 0.7848 GB, free: 9.996 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.004965/0.8006, allocations: 1.712 MB / 0.7865 GB, free: 8.301 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.007288/0.8078, allocations: 4.881 MB / 0.7913 GB, free: 3.41 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005679/0.8135, allocations: 3.091 MB / 0.7943 GB, free: 260 kB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004673/0.8182, allocations: 2.117 MB / 0.7964 GB, free: 14.13 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004667/0.8229, allocations: 2.546 MB / 0.7988 GB, free: 11.58 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.001475/0.8243, allocations: 452 kB / 0.7993 GB, free: 11.14 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003251/0.8276, allocations: 1.026 MB / 0.8003 GB, free: 10.11 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.001944/0.8295, allocations: 1.184 MB / 0.8014 GB, free: 8.926 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.002851/0.8324, allocations: 1.644 MB / 0.803 GB, free: 7.273 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.008298/0.8407, allocations: 5.924 MB / 0.8088 GB, free: 1.336 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.8407, allocations: 0 / 0.8088 GB, free: 1.336 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.072e-06/0.8407, allocations: 0 / 0.8088 GB, free: 1.336 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0001627/0.8409, allocations: 4 kB / 0.8088 GB, free: 1.332 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 826 * Number of variables: 826 Notification: Performance of Generate backend data structure: time 0.0104/0.8512, allocations: 4.566 MB / 0.8133 GB, free: 12.7 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.921e-05/0.8513, allocations: 8.031 kB / 0.8133 GB, free: 12.69 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01753/0.8688, allocations: 3.141 MB / 0.8164 GB, free: 9.543 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005667/0.8745, allocations: 2.275 MB / 0.8186 GB, free: 7.203 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002362/0.8747, allocations: 242.5 kB / 0.8188 GB, free: 6.965 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006449/0.8754, allocations: 312 kB / 0.8191 GB, free: 6.66 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01216/0.8875, allocations: 5.47 MB / 0.8245 GB, free: 1.031 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.46e-05/0.8876, allocations: 0 / 0.8245 GB, free: 1.031 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003611/0.8879, allocations: 143.9 kB / 0.8246 GB, free: 0.8906 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.417e-05/0.888, allocations: 80 kB / 0.8247 GB, free: 0.8125 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01534/0.9034, allocations: 6.233 MB / 0.8308 GB, free: 10.57 MB / 0.7012 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02534/0.9287, allocations: 11.34 MB / 0.8418 GB, free: 15.11 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01059/0.9393, allocations: 4.3 MB / 0.846 GB, free: 10.8 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005355/0.9446, allocations: 2.282 MB / 0.8483 GB, free: 8.516 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006732/0.9453, allocations: 138.2 kB / 0.8484 GB, free: 8.379 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005912/0.9512, allocations: 2.588 MB / 0.8509 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=270): time 5.971e-06/0.9512, allocations: 0 / 0.8509 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of matching and sorting (n=270): time 0.01986/0.9711, allocations: 7.307 MB / 0.8581 GB, free: 14.35 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001495/0.9712, allocations: 206 kB / 0.8583 GB, free: 14.1 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003258/0.9745, allocations: 2.197 MB / 0.8604 GB, free: 11.86 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0003595/0.9749, allocations: 69.7 kB / 0.8605 GB, free: 11.79 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001421/0.9763, allocations: 1.393 MB / 0.8618 GB, free: 10.38 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.001124/0.9774, allocations: 0.9451 MB / 0.8628 GB, free: 9.43 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009603/0.9784, allocations: 496.7 kB / 0.8632 GB, free: 8.938 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001523/0.9785, allocations: 305.1 kB / 0.8635 GB, free: 8.637 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004992/0.9835, allocations: 1.976 MB / 0.8654 GB, free: 6.656 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005587/0.9891, allocations: 2.477 MB / 0.8679 GB, free: 4.055 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01036/0.9995, allocations: 4.232 MB / 0.872 GB, free: 15.73 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.638e-06/0.9995, allocations: 3.938 kB / 0.872 GB, free: 15.73 MB / 0.7481 GB Notification: Performance of matching and sorting (n=308) (initialization): time 0.01234/1.012, allocations: 4.954 MB / 0.8768 GB, free: 10.73 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.546e-05/1.012, allocations: 4 kB / 0.8768 GB, free: 10.72 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.446e-05/1.012, allocations: 4 kB / 0.8768 GB, free: 10.72 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009107/1.013, allocations: 352.8 kB / 0.8772 GB, free: 10.37 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004122/1.017, allocations: 0.7839 MB / 0.8779 GB, free: 9.586 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006117/1.023, allocations: 4.059 MB / 0.8819 GB, free: 5.43 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003959/1.027, allocations: 0.5117 MB / 0.8824 GB, free: 4.918 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005764/1.028, allocations: 115.9 kB / 0.8825 GB, free: 4.805 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 13 ($PRE.intGai.nextTimeEvent,$whenCondition1,weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,intGai.nextTimeEventScaled,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEvent,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition2,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (278): * Single equations (assignments): 277 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,28,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002297/1.03, allocations: 0.9304 MB / 0.8834 GB, free: 3.863 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008794/1.031, allocations: 266.3 kB / 0.8837 GB, free: 3.602 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01396/1.045, allocations: 5.541 MB / 0.8891 GB, free: 14 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.73e-05/1.045, allocations: 28 kB / 0.8891 GB, free: 13.97 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.708e-06/1.045, allocations: 4 kB / 0.8891 GB, free: 13.96 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.435e-05/1.045, allocations: 15.94 kB / 0.8891 GB, free: 13.95 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01966/1.064, allocations: 8.468 MB / 0.8974 GB, free: 5.367 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.568e-06/1.064, allocations: 0 / 0.8974 GB, free: 5.367 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003919/1.068, allocations: 0.7293 MB / 0.8981 GB, free: 4.637 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001135/1.069, allocations: 386.2 kB / 0.8985 GB, free: 4.25 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003217/1.07, allocations: 75.92 kB / 0.8986 GB, free: 4.176 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007617/1.077, allocations: 5.983 MB / 0.9044 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/1.077, allocations: 3.984 kB / 0.9044 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01915/1.097, allocations: 7.937 MB / 0.9122 GB, free: 5.934 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002281/1.099, allocations: 0.7414 MB / 0.9129 GB, free: 5.188 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006847/1.1, allocations: 51.95 kB / 0.9129 GB, free: 5.137 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003291/1.103, allocations: 391.4 kB / 0.9133 GB, free: 4.754 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004621/1.103, allocations: 189.8 kB / 0.9135 GB, free: 4.566 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000278/1.104, allocations: 99.92 kB / 0.9136 GB, free: 4.469 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.002442/1.106, allocations: 1.603 MB / 0.9151 GB, free: 2.848 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/1.106, allocations: 4 kB / 0.9152 GB, free: 2.844 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.003334/1.109, allocations: 1.067 MB / 0.9162 GB, free: 1.773 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (thermalZoneTwoElements.volAir.dynBal.U,thermalZoneTwoElements.volAir.dynBal.m,thermalZoneTwoElements.extWallRC.thermCapExt[1].T,thermalZoneTwoElements.intWallRC.thermCapInt[1].T) * Number of discrete variables: 7 ($whenCondition3,$whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext,intGai.nextTimeEvent,intGai.nextTimeEventScaled) * Number of discrete states: 4 (intGai.nextTimeEvent,intGai.nextTimeEventScaled,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (257): * Single equations (assignments): 250 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(3,25,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003986/1.113, allocations: 1.081 MB / 0.9173 GB, free: 1.141 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.01287/1.126, allocations: 4.676 MB / 0.9218 GB, free: 12.42 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 5.821e-06/1.126, allocations: 0 / 0.9218 GB, free: 12.42 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.00691/1.133, allocations: 2.627 MB / 0.9244 GB, free: 9.762 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003763/1.137, allocations: 0.666 MB / 0.925 GB, free: 9.137 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01628/1.153, allocations: 7.972 MB / 0.9328 GB, free: 1.113 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002289/1.155, allocations: 1.919 MB / 0.9347 GB, free: 15.16 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.003795/1.159, allocations: 1.076 MB / 0.9357 GB, free: 14.08 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001092/1.16, allocations: 256.3 kB / 0.936 GB, free: 13.83 MB / 0.8106 GB Notification: Performance of SimCode: time 9.31e-07/1.16, allocations: 4 kB / 0.936 GB, free: 13.82 MB / 0.8106 GB Notification: Performance of Templates: time 0.4058/1.566, allocations: 46.65 MB / 0.9816 GB, free: 271.7 MB / 0.8106 GB " [Timeout remaining time 658] make -j1 -f IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.makefile [Timeout 660] (rm -f IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe ; mkfifo IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe ; head -c 1048576 < IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe >> ../files/IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.sim & ./IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 12.64386240998283] Failed to read output from testmodel.py, exit status != 0: 1.576748544932343 1.586788498 0.743385866 Calling exit ...