Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.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.001891/0.001891, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002196/0.002196, allocations: 217.1 kB / 22.25 MB, free: 4.855 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.459/1.459, allocations: 230.6 MB / 256 MB, free: 7.793 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.8648/0.8648, allocations: 134 MB / 446.4 MB, free: 9.965 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.SimpleRoomFourElements,fileNamePrefix="IDEAS_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomFourElements",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements,fileNamePrefix="IDEAS_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomFourElements",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.002034/0.002034, allocations: 62.34 kB / 0.6185 GB, free: 6.926 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1765/0.1785, allocations: 85.91 MB / 0.7024 GB, free: 1.102 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements): time 0.6137/0.7923, allocations: 143.9 MB / 0.8429 GB, free: 3.156 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.04367/0.8359, allocations: 25.22 MB / 0.8675 GB, free: 9.855 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004805/0.8407, allocations: 107.2 kB / 0.8676 GB, free: 9.75 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.003742/0.8445, allocations: 1.15 MB / 0.8688 GB, free: 8.594 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.007575/0.8521, allocations: 1.961 MB / 0.8707 GB, free: 6.625 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.006723/0.8588, allocations: 2 MB / 0.8726 GB, free: 4.641 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.01008/0.8689, allocations: 5.91 MB / 0.8784 GB, free: 14.71 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006987/0.8758, allocations: 3.547 MB / 0.8819 GB, free: 11.09 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005515/0.8814, allocations: 2.413 MB / 0.8842 GB, free: 8.676 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005957/0.8873, allocations: 2.9 MB / 0.887 GB, free: 5.766 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.002025/0.8893, allocations: 0.5234 MB / 0.8876 GB, free: 5.242 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003916/0.8933, allocations: 1.112 MB / 0.8886 GB, free: 4.129 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.002419/0.8957, allocations: 1.383 MB / 0.89 GB, free: 2.742 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.003777/0.8995, allocations: 1.948 MB / 0.8919 GB, free: 0.7852 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.01105/0.9105, allocations: 6.891 MB / 0.8986 GB, free: 9.875 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 7.033e-06/0.9105, allocations: 0 / 0.8986 GB, free: 9.875 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.013e-06/0.9105, allocations: 0 / 0.8986 GB, free: 9.875 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0002454/0.9108, allocations: 0 / 0.8986 GB, free: 9.875 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: 962 * Number of variables: 962 Notification: Performance of Generate backend data structure: time 0.01309/0.9239, allocations: 5.2 MB / 0.9037 GB, free: 4.609 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 5.721e-05/0.9239, allocations: 16.03 kB / 0.9037 GB, free: 4.594 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008156/0.9247, allocations: 0.5065 MB / 0.9042 GB, free: 4.078 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01704/0.9418, allocations: 3.211 MB / 0.9073 GB, free: 0.8594 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007134/0.9489, allocations: 2.517 MB / 0.9098 GB, free: 14.28 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002719/0.9492, allocations: 287.5 kB / 0.9101 GB, free: 14 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001008/0.9502, allocations: 368 kB / 0.9104 GB, free: 13.64 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01481/0.965, allocations: 6.054 MB / 0.9163 GB, free: 7.445 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.158e-05/0.9651, allocations: 0 / 0.9163 GB, free: 7.445 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004183/0.9655, allocations: 160 kB / 0.9165 GB, free: 7.289 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.89e-05/0.9656, allocations: 91.94 kB / 0.9166 GB, free: 7.199 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01896/0.9845, allocations: 6.803 MB / 0.9232 GB, free: 396 kB / 0.6856 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.03582/1.02, allocations: 13.47 MB / 0.9364 GB, free: 2.789 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01103/1.031, allocations: 4.213 MB / 0.9405 GB, free: 14.58 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006991/1.038, allocations: 2.717 MB / 0.9431 GB, free: 11.86 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007723/1.039, allocations: 130.3 kB / 0.9433 GB, free: 11.73 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006844/1.046, allocations: 2.865 MB / 0.9461 GB, free: 8.797 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=315): time 6.672e-06/1.046, allocations: 0 / 0.9461 GB, free: 8.797 MB / 0.7169 GB Notification: Performance of matching and sorting (n=315): time 0.02786/1.074, allocations: 9.385 MB / 0.9552 GB, free: 15.35 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002043/1.074, allocations: 210.4 kB / 0.9554 GB, free: 15.1 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004527/1.079, allocations: 2.722 MB / 0.9581 GB, free: 12.37 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0007059/1.079, allocations: 81.7 kB / 0.9582 GB, free: 12.28 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001726/1.081, allocations: 1.569 MB / 0.9597 GB, free: 10.7 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.001619/1.083, allocations: 1.108 MB / 0.9608 GB, free: 9.582 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001147/1.084, allocations: 0.5251 MB / 0.9613 GB, free: 9.051 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001431/1.084, allocations: 301.1 kB / 0.9616 GB, free: 8.754 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005282/1.089, allocations: 2.16 MB / 0.9637 GB, free: 6.59 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006284/1.095, allocations: 2.78 MB / 0.9664 GB, free: 3.66 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01132/1.107, allocations: 4.684 MB / 0.971 GB, free: 14.89 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.394e-05/1.107, allocations: 7.938 kB / 0.971 GB, free: 14.88 MB / 0.7481 GB Notification: Performance of matching and sorting (n=347) (initialization): time 0.01415/1.121, allocations: 5.742 MB / 0.9766 GB, free: 9.094 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 3.318e-05/1.121, allocations: 8 kB / 0.9766 GB, free: 9.086 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.768e-05/1.121, allocations: 4 kB / 0.9766 GB, free: 9.082 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001957/1.123, allocations: 0.8259 MB / 0.9774 GB, free: 8.254 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004331/1.127, allocations: 0.7956 MB / 0.9782 GB, free: 7.457 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01208/1.139, allocations: 7.334 MB / 0.9854 GB, free: 8 kB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004809/1.144, allocations: 0.5681 MB / 0.9859 GB, free: 15.43 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001391/1.146, allocations: 111.9 kB / 0.986 GB, free: 15.32 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 (283): * Single equations (assignments): 282 * 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 {(5,60,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004456/1.15, allocations: 1.024 MB / 0.987 GB, free: 14.29 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001405/1.151, allocations: 325.9 kB / 0.9873 GB, free: 13.97 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01584/1.167, allocations: 6.399 MB / 0.9936 GB, free: 7.512 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.082e-05/1.167, allocations: 31.94 kB / 0.9936 GB, free: 7.48 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.631e-05/1.167, allocations: 12 kB / 0.9936 GB, free: 7.469 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.878e-05/1.167, allocations: 15.94 kB / 0.9936 GB, free: 7.453 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02246/1.19, allocations: 10.18 MB / 1.004 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.056e-05/1.19, allocations: 0 / 1.004 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004013/1.194, allocations: 0.7838 MB / 1.004 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001938/1.196, allocations: 0.7301 MB / 1.005 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003982/1.196, allocations: 83.94 kB / 1.005 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01344/1.21, allocations: 10.22 MB / 1.015 GB, free: 0.9531 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/1.21, allocations: 4 kB / 1.015 GB, free: 0.9492 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02207/1.232, allocations: 9.087 MB / 1.024 GB, free: 7.777 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003163/1.235, allocations: 0.8659 MB / 1.025 GB, free: 6.91 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008462/1.236, allocations: 71.89 kB / 1.025 GB, free: 6.84 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003437/1.239, allocations: 407.3 kB / 1.025 GB, free: 6.441 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005744/1.24, allocations: 226.1 kB / 1.026 GB, free: 6.219 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002852/1.24, allocations: 107.9 kB / 1.026 GB, free: 6.113 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.003292/1.243, allocations: 1.968 MB / 1.028 GB, free: 4.141 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.1e-07/1.243, allocations: 4 kB / 1.028 GB, free: 4.137 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.003944/1.247, allocations: 1.235 MB / 1.029 GB, free: 2.898 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (thermalZoneFourElements.volAir.dynBal.U,thermalZoneFourElements.volAir.dynBal.m,thermalZoneFourElements.extWallRC.thermCapExt[1].T,thermalZoneFourElements.intWallRC.thermCapInt[1].T,thermalZoneFourElements.floorRC.thermCapExt[1].T,thermalZoneFourElements.roofRC.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 (273): * Single equations (assignments): 265 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,49,100.0%), (1,3,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.0253/1.273, allocations: 10.64 MB / 1.039 GB, free: 8.59 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.01367/1.286, allocations: 5.321 MB / 1.044 GB, free: 3.23 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 6.622e-06/1.286, allocations: 0.6875 kB / 1.044 GB, free: 3.23 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.007727/1.294, allocations: 3.157 MB / 1.047 GB, free: 28 kB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003982/1.298, allocations: 0.7694 MB / 1.048 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4941/1.792, allocations: 33.43 MB / 1.081 GB, free: 295.8 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003358/1.795, allocations: 2.181 MB / 1.083 GB, free: 295.4 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.004438/1.8, allocations: 1.164 MB / 1.084 GB, free: 295.3 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00266/1.802, allocations: 1.658 MB / 1.086 GB, free: 294 MB / 0.8262 GB Notification: Performance of SimCode: time 1.453e-06/1.802, allocations: 1.766 kB / 1.086 GB, free: 294 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1399/1.942, allocations: 87.19 MB / 1.171 GB, free: 219.3 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.15/19.09, allocations: 14.73 kB / 1.171 GB, free: 219.3 MB / 0.8262 GB " [Timeout remaining time 641] (rm -f IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe ; mkfifo IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe ; head -c 1048576 < IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe >> ../files/IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomFourElements_fmu --startTime=0 --stopTime=3.1536e+07 --stepSize=3600 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomFourElements.fmu > IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 22.996055726893246] Failed to read output from testmodel.py, exit status != 0: 19.357308411970735 19.367778896 18.454747224 Calling exit ...