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.001342/0.001342, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.001545/0.001545, allocations: 221.1 kB / 23.03 MB, free: 4.945 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.476/1.476, allocations: 230.6 MB / 256.8 MB, free: 7.777 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.9342/0.9342, allocations: 134 MB / 447.2 MB, free: 9.938 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.SimpleRoomTwoElements,fileNamePrefix="IDEAS_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomTwoElements",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements,fileNamePrefix="IDEAS_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomTwoElements",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.001996/0.001996, allocations: 62.59 kB / 0.6192 GB, free: 6.93 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1791/0.181, allocations: 85.93 MB / 0.7031 GB, free: 1.102 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements): time 0.5566/0.7377, allocations: 141.8 MB / 0.8416 GB, free: 5.098 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.03596/0.7736, allocations: 24.52 MB / 0.8656 GB, free: 12.67 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003494/0.7771, allocations: 99.25 kB / 0.8657 GB, free: 12.57 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.003196/0.7803, allocations: 1.033 MB / 0.8667 GB, free: 11.53 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.006093/0.7864, allocations: 1.741 MB / 0.8684 GB, free: 9.785 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.005069/0.7915, allocations: 1.702 MB / 0.87 GB, free: 8.098 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.007263/0.7987, allocations: 4.88 MB / 0.8748 GB, free: 3.207 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005656/0.8044, allocations: 3.118 MB / 0.8778 GB, free: 24 kB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004746/0.8091, allocations: 2.11 MB / 0.8799 GB, free: 13.91 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004559/0.8137, allocations: 2.528 MB / 0.8824 GB, free: 11.38 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.001493/0.8152, allocations: 452 kB / 0.8828 GB, free: 10.93 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00299/0.8182, allocations: 1.034 MB / 0.8838 GB, free: 9.898 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.001853/0.82, allocations: 1.192 MB / 0.885 GB, free: 8.703 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.003511/0.8235, allocations: 1.648 MB / 0.8866 GB, free: 7.047 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.009453/0.833, allocations: 5.926 MB / 0.8924 GB, free: 1.102 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.833, allocations: 0 / 0.8924 GB, free: 1.102 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.533e-06/0.833, allocations: 0 / 0.8924 GB, free: 1.102 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0002031/0.8332, allocations: 0 / 0.8924 GB, free: 1.102 MB / 0.6544 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.01131/0.8445, allocations: 4.573 MB / 0.8968 GB, free: 12.46 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/0.8445, allocations: 8.031 kB / 0.8968 GB, free: 12.45 MB / 0.67 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 9.954e-05/0.8446, allocations: 86.47 kB / 0.8969 GB, free: 12.37 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008231/0.8455, allocations: 451.1 kB / 0.8974 GB, free: 11.91 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01697/0.8624, allocations: 3.145 MB / 0.9004 GB, free: 8.762 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005291/0.8677, allocations: 2.275 MB / 0.9027 GB, free: 6.422 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002195/0.8679, allocations: 242.5 kB / 0.9029 GB, free: 6.184 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007655/0.8687, allocations: 320 kB / 0.9032 GB, free: 5.871 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01217/0.8809, allocations: 5.474 MB / 0.9085 GB, free: 244 kB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.031e-05/0.8809, allocations: 0 / 0.9085 GB, free: 244 kB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004032/0.8813, allocations: 139.9 kB / 0.9087 GB, free: 104 kB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.693e-05/0.8814, allocations: 80 kB / 0.9087 GB, free: 24 kB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01505/0.8965, allocations: 6.291 MB / 0.9149 GB, free: 9.719 MB / 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.02617/0.9226, allocations: 11.8 MB / 0.9264 GB, free: 13.77 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01021/0.9328, allocations: 4.296 MB / 0.9306 GB, free: 9.473 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005355/0.9382, allocations: 2.286 MB / 0.9328 GB, free: 7.18 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007084/0.9389, allocations: 134.1 kB / 0.933 GB, free: 7.047 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005999/0.9449, allocations: 2.595 MB / 0.9355 GB, free: 4.379 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=270): time 6.572e-06/0.9449, allocations: 0 / 0.9355 GB, free: 4.379 MB / 0.7012 GB Notification: Performance of matching and sorting (n=270): time 0.01943/0.9643, allocations: 7.323 MB / 0.9427 GB, free: 12.99 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001835/0.9645, allocations: 210 kB / 0.9429 GB, free: 12.74 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003628/0.9682, allocations: 2.45 MB / 0.9452 GB, free: 10.27 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0004482/0.9686, allocations: 73.7 kB / 0.9453 GB, free: 10.19 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.001375/0.97, allocations: 1.395 MB / 0.9467 GB, free: 8.777 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.001527/0.9715, allocations: 0.9373 MB / 0.9476 GB, free: 7.832 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00113/0.9726, allocations: 480.4 kB / 0.9481 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001883/0.9728, allocations: 309.1 kB / 0.9483 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004861/0.9777, allocations: 1.948 MB / 0.9503 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005636/0.9833, allocations: 2.476 MB / 0.9527 GB, free: 2.484 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01097/0.9943, allocations: 4.211 MB / 0.9568 GB, free: 14.18 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-05/0.9943, allocations: 0 / 0.9568 GB, free: 14.18 MB / 0.7325 GB Notification: Performance of matching and sorting (n=300) (initialization): time 0.01332/1.008, allocations: 4.916 MB / 0.9616 GB, free: 9.211 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.446e-05/1.008, allocations: 11.98 kB / 0.9616 GB, free: 9.199 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.588e-05/1.008, allocations: 0 / 0.9616 GB, free: 9.199 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009612/1.009, allocations: 344.8 kB / 0.9619 GB, free: 8.859 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004173/1.013, allocations: 0.7761 MB / 0.9627 GB, free: 8.082 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006228/1.019, allocations: 4.087 MB / 0.9667 GB, free: 3.891 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004028/1.023, allocations: 0.5331 MB / 0.9672 GB, free: 3.355 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007371/1.024, allocations: 103.9 kB / 0.9673 GB, free: 3.254 MB / 0.7325 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 (270): * Single equations (assignments): 269 * 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.002713/1.027, allocations: 0.9304 MB / 0.9682 GB, free: 2.312 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001052/1.028, allocations: 286.2 kB / 0.9685 GB, free: 2.031 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01511/1.043, allocations: 5.562 MB / 0.9739 GB, free: 12.41 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.881e-05/1.043, allocations: 24 kB / 0.9739 GB, free: 12.38 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.346e-05/1.043, allocations: 11.98 kB / 0.9739 GB, free: 12.37 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.932e-05/1.043, allocations: 11.95 kB / 0.974 GB, free: 12.36 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02128/1.064, allocations: 8.841 MB / 0.9826 GB, free: 3.402 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.096e-05/1.064, allocations: 4 kB / 0.9826 GB, free: 3.398 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003914/1.068, allocations: 0.7293 MB / 0.9833 GB, free: 2.668 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001169/1.069, allocations: 386.5 kB / 0.9837 GB, free: 2.281 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004033/1.07, allocations: 75.92 kB / 0.9837 GB, free: 2.207 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007499/1.077, allocations: 6.033 MB / 0.9896 GB, free: 11.92 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.681e-06/1.077, allocations: 7.938 kB / 0.9896 GB, free: 11.91 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01935/1.096, allocations: 7.961 MB / 0.9974 GB, free: 3.859 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002498/1.099, allocations: 0.7648 MB / 0.9982 GB, free: 3.09 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009139/1.1, allocations: 59.89 kB / 0.9982 GB, free: 3.031 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003604/1.103, allocations: 395.4 kB / 0.9986 GB, free: 2.645 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006199/1.104, allocations: 189.8 kB / 0.9988 GB, free: 2.457 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003781/1.104, allocations: 99.92 kB / 0.9989 GB, free: 2.359 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.003519/1.108, allocations: 1.789 MB / 1.001 GB, free: 0.5586 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.1e-07/1.108, allocations: 0 / 1.001 GB, free: 0.5586 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.00379/1.112, allocations: 1.036 MB / 1.002 GB, free: 15.52 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.02305/1.135, allocations: 9.509 MB / 1.011 GB, free: 6.348 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.01218/1.147, allocations: 4.633 MB / 1.015 GB, free: 1.668 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 7.784e-06/1.147, allocations: 0 / 1.015 GB, free: 1.668 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.006798/1.154, allocations: 2.628 MB / 1.018 GB, free: 15.01 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003886/1.158, allocations: 0.6853 MB / 1.019 GB, free: 14.36 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06378/1.221, allocations: 29.19 MB / 1.047 GB, free: 0.8125 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003057/1.224, allocations: 1.92 MB / 1.049 GB, free: 14.86 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.004097/1.229, allocations: 1.103 MB / 1.05 GB, free: 13.75 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002982/1.232, allocations: 1.46 MB / 1.052 GB, free: 12.29 MB / 0.8262 GB Notification: Performance of SimCode: time 9.32e-07/1.232, allocations: 0 / 1.052 GB, free: 12.29 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.476/1.708, allocations: 74.84 MB / 1.125 GB, free: 267.5 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.77/21.48, allocations: 18.02 kB / 1.125 GB, free: 267.5 MB / 0.8262 GB " [Timeout remaining time 638] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomTwoElements_fmu --startTime=0 --stopTime=3.1536e+07 --stepSize=3600 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomTwoElements.fmu > IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 25.568204805022106] Failed to read output from testmodel.py, exit status != 0: 21.836547024082392 21.846852692 21.011354712 Calling exit ...