Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.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.001432/0.001432, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001937/0.001937, allocations: 218.3 kB / 22.26 MB, free: 5.125 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.444/1.444, allocations: 230.6 MB / 256 MB, free: 7.965 MB / 206.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.8682/0.8682, allocations: 134 MB / 446.4 MB, free: 10.2 MB / 350.1 MB " [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: "" <> buildModelFMU(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements,fileNamePrefix="IDEAS_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomThreeElements",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements,fileNamePrefix="IDEAS_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomThreeElements",fmuType="me",version="2.0",platforms={"static"}) [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.001944/0.001944, allocations: 67.08 kB / 0.6185 GB, free: 7.188 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1757/0.1777, allocations: 85.9 MB / 0.7024 GB, free: 1.355 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements): time 0.6551/0.8328, allocations: 165.5 MB / 0.8641 GB, free: 0.9219 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.03891/0.8717, allocations: 27.36 MB / 0.8908 GB, free: 5.477 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003251/0.8749, allocations: 103.2 kB / 0.8909 GB, free: 5.375 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.003033/0.878, allocations: 1.088 MB / 0.892 GB, free: 4.281 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.006032/0.884, allocations: 1.817 MB / 0.8938 GB, free: 2.457 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.005229/0.8892, allocations: 1.866 MB / 0.8956 GB, free: 0.6055 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.00745/0.8967, allocations: 5.287 MB / 0.9007 GB, free: 11.3 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0055/0.9022, allocations: 3.327 MB / 0.904 GB, free: 7.895 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004333/0.9065, allocations: 2.232 MB / 0.9062 GB, free: 5.66 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004608/0.9111, allocations: 2.673 MB / 0.9088 GB, free: 2.98 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.00137/0.9125, allocations: 488 kB / 0.9092 GB, free: 2.504 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003215/0.9157, allocations: 1.147 MB / 0.9104 GB, free: 1.355 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.001737/0.9174, allocations: 1.258 MB / 0.9116 GB, free: 96 kB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.003432/0.9209, allocations: 2.192 MB / 0.9137 GB, free: 13.89 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.008272/0.9291, allocations: 6.3 MB / 0.9199 GB, free: 7.574 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.9291, allocations: 4 kB / 0.9199 GB, free: 7.57 MB / 0.6856 GB Notification: Performance of FrontEnd: time 3.827e-06/0.9291, allocations: 3.984 kB / 0.9199 GB, free: 7.566 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0001338/0.9293, allocations: 3.938 kB / 0.9199 GB, free: 7.562 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 882 * Number of variables: 882 Notification: Performance of Generate backend data structure: time 0.01236/0.9416, allocations: 4.833 MB / 0.9246 GB, free: 2.672 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 5.822e-05/0.9417, allocations: 8.031 kB / 0.9246 GB, free: 2.664 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008566/0.9426, allocations: 480.5 kB / 0.9251 GB, free: 2.184 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01664/0.9592, allocations: 3.168 MB / 0.9282 GB, free: 15.01 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006543/0.9657, allocations: 2.382 MB / 0.9305 GB, free: 12.56 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003196/0.9661, allocations: 258.9 kB / 0.9308 GB, free: 12.31 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001419/0.9675, allocations: 336 kB / 0.9311 GB, free: 11.98 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01313/0.9806, allocations: 5.389 MB / 0.9363 GB, free: 6.52 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.243e-05/0.9807, allocations: 3.984 kB / 0.9363 GB, free: 6.516 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003846/0.9811, allocations: 144 kB / 0.9365 GB, free: 6.375 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.166e-05/0.9811, allocations: 87.98 kB / 0.9366 GB, free: 6.289 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01634/0.9975, allocations: 6.527 MB / 0.9429 GB, free: 15.75 MB / 0.7169 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.03538/1.033, allocations: 15.59 MB / 0.9582 GB, free: 15.53 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009826/1.043, allocations: 3.843 MB / 0.9619 GB, free: 11.68 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005829/1.049, allocations: 2.456 MB / 0.9643 GB, free: 9.215 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008426/1.049, allocations: 150 kB / 0.9645 GB, free: 9.066 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006424/1.056, allocations: 2.577 MB / 0.967 GB, free: 6.449 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=288): time 5.019e-06/1.056, allocations: 0 / 0.967 GB, free: 6.449 MB / 0.7325 GB Notification: Performance of matching and sorting (n=288): time 0.02324/1.079, allocations: 8.144 MB / 0.9749 GB, free: 14.25 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001563/1.079, allocations: 210.3 kB / 0.9751 GB, free: 14 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004335/1.084, allocations: 2.554 MB / 0.9776 GB, free: 11.42 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.000588/1.084, allocations: 81.69 kB / 0.9777 GB, free: 11.34 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.001526/1.086, allocations: 1.481 MB / 0.9791 GB, free: 9.84 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.001378/1.087, allocations: 1.007 MB / 0.9801 GB, free: 8.824 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001376/1.088, allocations: 0.4892 MB / 0.9806 GB, free: 8.328 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.000138/1.089, allocations: 313.1 kB / 0.9809 GB, free: 8.02 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005046/1.094, allocations: 2.038 MB / 0.9829 GB, free: 5.977 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005506/1.099, allocations: 2.365 MB / 0.9852 GB, free: 3.527 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01073/1.11, allocations: 4.405 MB / 0.9895 GB, free: 15.04 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.654e-05/1.11, allocations: 7.984 kB / 0.9895 GB, free: 15.03 MB / 0.7637 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.01445/1.124, allocations: 5.264 MB / 0.9947 GB, free: 9.715 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 3.9e-05/1.124, allocations: 11.94 kB / 0.9947 GB, free: 9.703 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.165e-05/1.124, allocations: 4 kB / 0.9947 GB, free: 9.699 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001515/1.126, allocations: 0.5415 MB / 0.9952 GB, free: 9.156 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004679/1.131, allocations: 0.7878 MB / 0.996 GB, free: 8.367 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009747/1.14, allocations: 5.626 MB / 1.001 GB, free: 2.621 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0047/1.145, allocations: 0.5446 MB / 1.002 GB, free: 2.074 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009654/1.146, allocations: 107.9 kB / 1.002 GB, free: 1.969 MB / 0.7637 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.intGai.nextTimeEvent,$whenCondition1,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 (274): * Single equations (assignments): 273 * 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 {(4,42,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003506/1.149, allocations: 0.9618 MB / 1.003 GB, free: 0.9961 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001354/1.151, allocations: 313.9 kB / 1.003 GB, free: 0.6875 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01606/1.167, allocations: 5.873 MB / 1.009 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-05/1.167, allocations: 32 kB / 1.009 GB, free: 10.72 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.843e-05/1.167, allocations: 4 kB / 1.009 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.764e-05/1.167, allocations: 19.88 kB / 1.009 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02697/1.194, allocations: 9.909 MB / 1.019 GB, free: 0.6797 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2e-05/1.194, allocations: 3.938 kB / 1.019 GB, free: 0.6758 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004176/1.198, allocations: 0.7489 MB / 1.02 GB, free: 15.93 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001546/1.2, allocations: 0.5216 MB / 1.02 GB, free: 15.39 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006148/1.2, allocations: 83.88 kB / 1.02 GB, free: 15.31 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009924/1.21, allocations: 7.345 MB / 1.027 GB, free: 7.711 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/1.21, allocations: 0 / 1.027 GB, free: 7.711 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02078/1.231, allocations: 8.388 MB / 1.035 GB, free: 15.23 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002897/1.234, allocations: 0.8154 MB / 1.036 GB, free: 14.41 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001124/1.235, allocations: 63.89 kB / 1.036 GB, free: 14.35 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003702/1.239, allocations: 397.6 kB / 1.037 GB, free: 13.96 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007541/1.239, allocations: 198 kB / 1.037 GB, free: 13.77 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005231/1.24, allocations: 103.9 kB / 1.037 GB, free: 13.67 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.003601/1.244, allocations: 1.859 MB / 1.039 GB, free: 11.8 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.11e-07/1.244, allocations: 4 kB / 1.039 GB, free: 11.8 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.004043/1.248, allocations: 1.115 MB / 1.04 GB, free: 10.68 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (thermalZoneThreeElements.volAir.dynBal.U,thermalZoneThreeElements.volAir.dynBal.m,thermalZoneThreeElements.extWallRC.thermCapExt[1].T,thermalZoneThreeElements.intWallRC.thermCapInt[1].T,thermalZoneThreeElements.floorRC.thermCapExt[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 (260): * Single equations (assignments): 253 * 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 {(4,36,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.02499/1.273, allocations: 9.885 MB / 1.05 GB, free: 1.082 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0143/1.287, allocations: 4.92 MB / 1.054 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 8.266e-06/1.287, allocations: 0 / 1.054 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.00834/1.295, allocations: 2.796 MB / 1.057 GB, free: 9.297 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005503/1.301, allocations: 0.7186 MB / 1.058 GB, free: 8.617 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5167/1.817, allocations: 30.98 MB / 1.088 GB, free: 156.3 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002181/1.82, allocations: 2.56 MB / 1.091 GB, free: 155.6 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.003554/1.823, allocations: 1.138 MB / 1.092 GB, free: 155.5 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002126/1.825, allocations: 1.53 MB / 1.093 GB, free: 155.5 MB / 0.8262 GB Notification: Performance of SimCode: time 1.032e-06/1.825, allocations: 1.031 kB / 1.093 GB, free: 155.5 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1306/1.956, allocations: 78.03 MB / 1.169 GB, free: 94.08 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.89/21.84, allocations: 8.047 kB / 1.169 GB, free: 94.07 MB / 0.8262 GB " [Timeout remaining time 638] (rm -f IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe ; mkfifo IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe ; head -c 1048576 < IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe >> ../files/IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomThreeElements_fmu --startTime=0 --stopTime=3.1536e+07 --stepSize=3600 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomThreeElements.fmu > IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 31.099318854045123] Failed to read output from testmodel.py, exit status != 0: 22.118067933013663 22.129407336 21.197823648 Calling exit ...