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.001698/0.001698, 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.002228/0.002228, allocations: 216.9 kB / 22.25 MB, free: 4.852 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.473/1.473, allocations: 230.6 MB / 256 MB, free: 7.809 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.8337/0.8337, allocations: 134 MB / 446.4 MB, free: 9.949 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements,fileNamePrefix="IDEAS_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomTwoElements",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.002104/0.002104, allocations: 68.89 kB / 0.6185 GB, free: 6.938 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1846/0.1867, allocations: 85.91 MB / 0.7024 GB, free: 1.117 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements): time 0.5885/0.7752, allocations: 141.9 MB / 0.841 GB, free: 5.051 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.04023/0.8154, allocations: 24.55 MB / 0.8649 GB, free: 12.5 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003671/0.8191, allocations: 99.25 kB / 0.865 GB, free: 12.41 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.003189/0.8223, allocations: 1.026 MB / 0.866 GB, free: 11.38 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.00615/0.8284, allocations: 1.737 MB / 0.8677 GB, free: 9.633 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0052/0.8336, allocations: 1.711 MB / 0.8694 GB, free: 7.938 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.01044/0.8441, allocations: 4.884 MB / 0.8742 GB, free: 3.043 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006322/0.8504, allocations: 3.086 MB / 0.8772 GB, free: 15.89 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004993/0.8554, allocations: 2.113 MB / 0.8792 GB, free: 13.78 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004954/0.8604, allocations: 2.55 MB / 0.8817 GB, free: 11.22 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.00158/0.8619, allocations: 452 kB / 0.8822 GB, free: 10.78 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003456/0.8654, allocations: 1.027 MB / 0.8832 GB, free: 9.75 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.002289/0.8677, allocations: 1.188 MB / 0.8843 GB, free: 8.559 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.003974/0.8717, allocations: 1.648 MB / 0.8859 GB, free: 6.902 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.01032/0.882, allocations: 5.919 MB / 0.8917 GB, free: 0.9648 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.882, allocations: 3.938 kB / 0.8917 GB, free: 0.9609 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.274e-06/0.882, allocations: 4 kB / 0.8917 GB, free: 0.957 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0002336/0.8822, allocations: 0 / 0.8917 GB, free: 0.957 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.01322/0.8954, allocations: 4.577 MB / 0.8962 GB, free: 12.32 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.48e-05/0.8955, allocations: 8.031 kB / 0.8962 GB, free: 12.31 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001238/0.8967, allocations: 455.1 kB / 0.8966 GB, free: 11.85 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01726/0.914, allocations: 3.149 MB / 0.8997 GB, free: 8.695 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006058/0.92, allocations: 2.267 MB / 0.9019 GB, free: 6.363 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002707/0.9203, allocations: 242.5 kB / 0.9022 GB, free: 6.125 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001228/0.9215, allocations: 316 kB / 0.9025 GB, free: 5.816 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01514/0.9367, allocations: 5.466 MB / 0.9078 GB, free: 196 kB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001158/0.9368, allocations: 15.86 kB / 0.9078 GB, free: 180 kB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000881/0.9377, allocations: 132 kB / 0.9079 GB, free: 48 kB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001058/0.9378, allocations: 79.98 kB / 0.908 GB, free: 15.96 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01758/0.9554, allocations: 6.233 MB / 0.9141 GB, free: 9.723 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.03405/0.9894, allocations: 11.81 MB / 0.9256 GB, free: 13.77 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01177/1.001, allocations: 4.292 MB / 0.9298 GB, free: 9.473 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006139/1.007, allocations: 2.282 MB / 0.932 GB, free: 7.184 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008299/1.008, allocations: 130.1 kB / 0.9322 GB, free: 7.055 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006678/1.015, allocations: 2.599 MB / 0.9347 GB, free: 4.383 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=270): time 6.462e-06/1.015, allocations: 0 / 0.9347 GB, free: 4.383 MB / 0.7012 GB Notification: Performance of matching and sorting (n=270): time 0.02199/1.037, allocations: 7.311 MB / 0.9418 GB, free: 13.01 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001842/1.037, allocations: 210 kB / 0.9421 GB, free: 12.76 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00536/1.042, allocations: 2.454 MB / 0.9444 GB, free: 10.28 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0006887/1.043, allocations: 77.7 kB / 0.9445 GB, free: 10.2 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.001905/1.045, allocations: 1.395 MB / 0.9459 GB, free: 8.785 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.00172/1.047, allocations: 0.9373 MB / 0.9468 GB, free: 7.84 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001983/1.049, allocations: 480.4 kB / 0.9473 GB, free: 7.363 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001752/1.049, allocations: 305.1 kB / 0.9475 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005428/1.054, allocations: 1.96 MB / 0.9495 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006069/1.06, allocations: 2.472 MB / 0.9519 GB, free: 2.488 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01127/1.072, allocations: 4.207 MB / 0.956 GB, free: 14.19 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.73e-05/1.072, allocations: 4 kB / 0.956 GB, free: 14.19 MB / 0.7325 GB Notification: Performance of matching and sorting (n=300) (initialization): time 0.01407/1.086, allocations: 4.916 MB / 0.9608 GB, free: 9.219 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.362e-05/1.086, allocations: 8 kB / 0.9608 GB, free: 9.211 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.977e-05/1.086, allocations: 4.938 kB / 0.9608 GB, free: 9.207 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009723/1.087, allocations: 340.8 kB / 0.9611 GB, free: 8.871 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004378/1.091, allocations: 0.7761 MB / 0.9619 GB, free: 8.094 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006654/1.098, allocations: 4.094 MB / 0.9659 GB, free: 3.891 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004502/1.102, allocations: 0.533 MB / 0.9664 GB, free: 3.355 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008737/1.103, allocations: 107.9 kB / 0.9665 GB, free: 3.25 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.003402/1.107, allocations: 0.9305 MB / 0.9674 GB, free: 2.309 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001406/1.108, allocations: 286.1 kB / 0.9677 GB, free: 2.027 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01575/1.124, allocations: 5.564 MB / 0.9731 GB, free: 12.4 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.352e-05/1.124, allocations: 31.98 kB / 0.9732 GB, free: 12.37 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.35e-05/1.124, allocations: 8 kB / 0.9732 GB, free: 12.36 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.7e-05/1.124, allocations: 15.95 kB / 0.9732 GB, free: 12.34 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02449/1.148, allocations: 8.833 MB / 0.9818 GB, free: 3.398 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.445e-05/1.148, allocations: 8 kB / 0.9818 GB, free: 3.391 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004095/1.152, allocations: 0.7371 MB / 0.9825 GB, free: 2.652 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00124/1.154, allocations: 386.5 kB / 0.9829 GB, free: 2.266 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005876/1.154, allocations: 75.88 kB / 0.983 GB, free: 2.191 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00814/1.162, allocations: 6.029 MB / 0.9889 GB, free: 11.91 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/1.162, allocations: 0 / 0.9889 GB, free: 11.91 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02133/1.184, allocations: 7.961 MB / 0.9966 GB, free: 3.855 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002987/1.187, allocations: 0.7687 MB / 0.9974 GB, free: 3.082 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00123/1.188, allocations: 63.88 kB / 0.9974 GB, free: 3.02 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0037/1.192, allocations: 389.9 kB / 0.9978 GB, free: 2.641 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006353/1.192, allocations: 193.8 kB / 0.998 GB, free: 2.449 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004578/1.193, allocations: 103.9 kB / 0.9981 GB, free: 2.348 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.003614/1.196, allocations: 1.789 MB / 0.9998 GB, free: 0.5469 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1e-07/1.196, allocations: 0 / 0.9998 GB, free: 0.5469 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.00406/1.2, allocations: 1.029 MB / 1.001 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.0248/1.225, allocations: 9.501 MB / 1.01 GB, free: 6.348 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.01365/1.239, allocations: 4.644 MB / 1.015 GB, free: 1.656 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 7.895e-06/1.239, allocations: 0 / 1.015 GB, free: 1.656 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.008193/1.247, allocations: 2.633 MB / 1.017 GB, free: 14.99 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005127/1.252, allocations: 0.6682 MB / 1.018 GB, free: 14.36 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07772/1.33, allocations: 29.19 MB / 1.046 GB, free: 0.8086 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003429/1.333, allocations: 1.916 MB / 1.048 GB, free: 14.86 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.005151/1.338, allocations: 1.098 MB / 1.049 GB, free: 13.76 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003673/1.342, allocations: 1.468 MB / 1.051 GB, free: 12.29 MB / 0.8262 GB Notification: Performance of SimCode: time 1.372e-06/1.342, allocations: 0 / 1.051 GB, free: 12.29 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5218/1.864, allocations: 74.43 MB / 1.123 GB, free: 267.8 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.37/18.23, allocations: 3.859 kB / 1.123 GB, free: 267.8 MB / 0.8262 GB " [Timeout remaining time 642] (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: 22.141776665113866] Failed to read output from testmodel.py, exit status != 0: 18.5011219792068 18.511070954 17.626646066 Calling exit ...