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.00158/0.00158, allocations: 105.2 kB / 19.72 MB, free: 2.234 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.001677/0.001677, allocations: 213.3 kB / 23.04 MB, free: 5.074 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.452/1.452, allocations: 230.6 MB / 256.8 MB, free: 7.961 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.8734/0.8734, allocations: 134 MB / 447.2 MB, free: 10.18 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements,fileNamePrefix="IDEAS_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomThreeElements",fmuType="cs",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.002088/0.002088, allocations: 58.12 kB / 0.6193 GB, free: 7.191 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1759/0.178, allocations: 85.92 MB / 0.7032 GB, free: 1.352 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements): time 0.5379/0.7159, allocations: 165.5 MB / 0.8648 GB, free: 0.9102 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.04132/0.7572, allocations: 27.37 MB / 0.8916 GB, free: 5.457 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003682/0.7609, allocations: 107.2 kB / 0.8917 GB, free: 5.352 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.002871/0.7638, allocations: 1.08 MB / 0.8927 GB, free: 4.266 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.005973/0.7697, allocations: 1.833 MB / 0.8945 GB, free: 2.434 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.005276/0.775, allocations: 1.861 MB / 0.8963 GB, free: 0.5859 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.00863/0.7836, allocations: 5.284 MB / 0.9015 GB, free: 11.29 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005414/0.7891, allocations: 3.335 MB / 0.9048 GB, free: 7.875 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004727/0.7938, allocations: 2.225 MB / 0.9069 GB, free: 5.648 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005096/0.7989, allocations: 2.674 MB / 0.9095 GB, free: 2.965 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.001236/0.8001, allocations: 488 kB / 0.91 GB, free: 2.488 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002921/0.803, allocations: 1.144 MB / 0.9111 GB, free: 1.344 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.001265/0.8043, allocations: 1.262 MB / 0.9124 GB, free: 80 kB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.003046/0.8073, allocations: 2.192 MB / 0.9145 GB, free: 13.87 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.008781/0.8161, allocations: 6.296 MB / 0.9206 GB, free: 7.562 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 8.045e-06/0.8161, allocations: 4 kB / 0.9206 GB, free: 7.559 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.943e-06/0.8161, allocations: 0 / 0.9206 GB, free: 7.559 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0001522/0.8163, allocations: 0 / 0.9206 GB, free: 7.559 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.01083/0.8271, allocations: 4.837 MB / 0.9254 GB, free: 2.664 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.738e-05/0.8272, allocations: 15.95 kB / 0.9254 GB, free: 2.648 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001018/0.8273, allocations: 90.91 kB / 0.9255 GB, free: 2.559 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006955/0.828, allocations: 484.5 kB / 0.9259 GB, free: 2.074 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01679/0.8448, allocations: 3.169 MB / 0.929 GB, free: 14.9 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005751/0.8505, allocations: 2.386 MB / 0.9314 GB, free: 12.45 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00026/0.8508, allocations: 250.9 kB / 0.9316 GB, free: 12.2 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001055/0.8518, allocations: 336 kB / 0.9319 GB, free: 11.88 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01285/0.8647, allocations: 5.397 MB / 0.9372 GB, free: 6.406 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.775e-05/0.8647, allocations: 0 / 0.9372 GB, free: 6.406 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004141/0.8652, allocations: 140 kB / 0.9373 GB, free: 6.27 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-05/0.8652, allocations: 84 kB / 0.9374 GB, free: 6.188 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.017/0.8822, allocations: 6.535 MB / 0.9438 GB, free: 15.64 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.0392/0.9214, allocations: 15.59 MB / 0.959 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01248/0.9339, allocations: 3.846 MB / 0.9628 GB, free: 11.57 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005921/0.9398, allocations: 2.46 MB / 0.9652 GB, free: 9.102 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007172/0.9405, allocations: 146 kB / 0.9653 GB, free: 8.957 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006099/0.9466, allocations: 2.573 MB / 0.9678 GB, free: 6.344 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=288): time 5.401e-06/0.9466, allocations: 7.938 kB / 0.9678 GB, free: 6.336 MB / 0.7325 GB Notification: Performance of matching and sorting (n=288): time 0.02405/0.9707, allocations: 8.14 MB / 0.9758 GB, free: 14.14 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001527/0.9708, allocations: 214.2 kB / 0.976 GB, free: 13.88 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00404/0.9749, allocations: 2.55 MB / 0.9785 GB, free: 11.31 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0008419/0.9757, allocations: 77.81 kB / 0.9785 GB, free: 11.23 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.001647/0.9774, allocations: 1.481 MB / 0.98 GB, free: 9.734 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.001579/0.979, allocations: 1.007 MB / 0.981 GB, free: 8.719 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001042/0.98, allocations: 0.4892 MB / 0.9815 GB, free: 8.223 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001402/0.9801, allocations: 305.1 kB / 0.9817 GB, free: 7.922 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005171/0.9853, allocations: 2.038 MB / 0.9837 GB, free: 5.879 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005633/0.9909, allocations: 2.369 MB / 0.986 GB, free: 3.426 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01087/1.002, allocations: 4.409 MB / 0.9904 GB, free: 14.93 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.451e-05/1.002, allocations: 4 kB / 0.9904 GB, free: 14.92 MB / 0.7637 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.01356/1.015, allocations: 5.264 MB / 0.9955 GB, free: 9.609 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 2.827e-05/1.015, allocations: 4 kB / 0.9955 GB, free: 9.605 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.733e-05/1.015, allocations: 12.14 kB / 0.9955 GB, free: 9.594 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001337/1.017, allocations: 0.5413 MB / 0.996 GB, free: 9.051 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004392/1.021, allocations: 0.7877 MB / 0.9968 GB, free: 8.266 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00875/1.03, allocations: 5.63 MB / 1.002 GB, free: 2.516 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004317/1.034, allocations: 0.5485 MB / 1.003 GB, free: 1.965 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005423/1.035, allocations: 107.9 kB / 1.003 GB, free: 1.859 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.00214/1.037, allocations: 0.9657 MB / 1.004 GB, free: 0.8828 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007775/1.038, allocations: 306 kB / 1.004 GB, free: 0.582 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0144/1.052, allocations: 5.879 MB / 1.01 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.891e-05/1.052, allocations: 35.88 kB / 1.01 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.451e-05/1.052, allocations: 8 kB / 1.01 GB, free: 10.6 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.812e-05/1.052, allocations: 19.88 kB / 1.01 GB, free: 10.58 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02099/1.073, allocations: 9.901 MB / 1.02 GB, free: 0.5703 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-05/1.073, allocations: 3.984 kB / 1.02 GB, free: 0.5664 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003903/1.077, allocations: 0.7527 MB / 1.02 GB, free: 15.81 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001472/1.079, allocations: 0.5293 MB / 1.021 GB, free: 15.27 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003299/1.079, allocations: 75.94 kB / 1.021 GB, free: 15.2 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009341/1.088, allocations: 7.341 MB / 1.028 GB, free: 7.602 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/1.088, allocations: 0 / 1.028 GB, free: 7.602 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02/1.108, allocations: 8.392 MB / 1.036 GB, free: 15.12 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002483/1.111, allocations: 0.8115 MB / 1.037 GB, free: 14.3 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006507/1.111, allocations: 68 kB / 1.037 GB, free: 14.23 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003201/1.115, allocations: 399.4 kB / 1.038 GB, free: 13.84 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005103/1.115, allocations: 201.9 kB / 1.038 GB, free: 13.64 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002804/1.115, allocations: 107.9 kB / 1.038 GB, free: 13.54 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.002866/1.118, allocations: 1.859 MB / 1.04 GB, free: 11.67 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1e-07/1.118, allocations: 0 / 1.04 GB, free: 11.67 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.003185/1.121, allocations: 1.115 MB / 1.041 GB, free: 10.55 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.02271/1.144, allocations: 9.872 MB / 1.05 GB, free: 0.9688 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.01277/1.157, allocations: 4.92 MB / 1.055 GB, free: 12 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 6.202e-06/1.157, allocations: 3.938 kB / 1.055 GB, free: 12 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.006901/1.164, allocations: 2.796 MB / 1.058 GB, free: 9.18 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003487/1.167, allocations: 0.7138 MB / 1.059 GB, free: 8.504 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.426/1.593, allocations: 31 MB / 1.089 GB, free: 295.7 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002549/1.596, allocations: 2.556 MB / 1.091 GB, free: 294.7 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.003996/1.6, allocations: 1.141 MB / 1.093 GB, free: 294.7 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002325/1.602, allocations: 1.526 MB / 1.094 GB, free: 293.5 MB / 0.8262 GB Notification: Performance of SimCode: time 1.453e-06/1.602, allocations: 0 / 1.094 GB, free: 293.5 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1134/1.716, allocations: 78.06 MB / 1.17 GB, free: 225.6 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.39/21.11, allocations: 7.766 kB / 1.17 GB, free: 225.6 MB / 0.8262 GB " [Timeout remaining time 639] (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: 27.369186725001782] Failed to read output from testmodel.py, exit status != 0: 21.481779964989983 21.499851782 20.679939797 Calling exit ...