Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.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.001351/0.001351, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001727/0.001727, allocations: 212.7 kB / 22.24 MB, free: 5.262 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.493/1.493, allocations: 230.6 MB / 256 MB, free: 7.824 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.8816/0.8816, 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.SimpleRoomOneElement,fileNamePrefix="IDEAS_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomOneElement",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement,fileNamePrefix="IDEAS_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomOneElement",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.002205/0.002205, allocations: 69.75 kB / 0.6185 GB, free: 6.906 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1904/0.1926, allocations: 85.9 MB / 0.7024 GB, free: 1.094 MB / 0.5138 GB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement): time 0.6329/0.8255, allocations: 141.4 MB / 0.8404 GB, free: 5.609 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.03718/0.8627, allocations: 24.36 MB / 0.8642 GB, free: 13.32 MB / 0.6388 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003045/0.8657, allocations: 95.25 kB / 0.8643 GB, free: 13.23 MB / 0.6388 GB Notification: Performance of NFTyping.typeComponents: time 0.002274/0.868, allocations: 0.9987 MB / 0.8653 GB, free: 12.23 MB / 0.6388 GB Notification: Performance of NFTyping.typeBindings: time 0.004881/0.8729, allocations: 1.675 MB / 0.8669 GB, free: 10.55 MB / 0.6388 GB Notification: Performance of NFTyping.typeClassSections: time 0.004342/0.8772, allocations: 1.657 MB / 0.8685 GB, free: 8.906 MB / 0.6388 GB Notification: Performance of NFFlatten.flatten: time 0.00625/0.8835, allocations: 4.611 MB / 0.873 GB, free: 4.281 MB / 0.6388 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004204/0.8877, allocations: 2.979 MB / 0.8759 GB, free: 1.234 MB / 0.6388 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003594/0.8913, allocations: 2.029 MB / 0.8779 GB, free: 15.2 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003734/0.895, allocations: 2.445 MB / 0.8803 GB, free: 12.75 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0007934/0.8958, allocations: 428 kB / 0.8807 GB, free: 12.33 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002301/0.8981, allocations: 1.015 MB / 0.8817 GB, free: 11.32 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.001059/0.8991, allocations: 1.122 MB / 0.8828 GB, free: 10.19 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001858/0.901, allocations: 1.563 MB / 0.8843 GB, free: 8.621 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.006628/0.9076, allocations: 5.623 MB / 0.8898 GB, free: 2.98 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.9076, allocations: 0 / 0.8898 GB, free: 2.98 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.943e-06/0.9076, allocations: 0 / 0.8898 GB, free: 2.98 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0001053/0.9077, allocations: 0 / 0.8898 GB, free: 2.98 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: 790 * Number of variables: 790 Notification: Performance of Generate backend data structure: time 0.008632/0.9164, allocations: 4.381 MB / 0.8941 GB, free: 14.54 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.77e-05/0.9164, allocations: 12.03 kB / 0.8941 GB, free: 14.53 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005814/0.917, allocations: 438.2 kB / 0.8945 GB, free: 14.09 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01606/0.9331, allocations: 3.125 MB / 0.8976 GB, free: 10.95 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005751/0.9388, allocations: 2.192 MB / 0.8997 GB, free: 8.695 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002096/0.939, allocations: 230.2 kB / 0.8999 GB, free: 8.469 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005859/0.9396, allocations: 300 kB / 0.9002 GB, free: 8.176 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01241/0.952, allocations: 5.301 MB / 0.9054 GB, free: 2.711 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.973e-05/0.9521, allocations: 4 kB / 0.9054 GB, free: 2.707 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004795/0.9526, allocations: 124 kB / 0.9055 GB, free: 2.586 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.173e-05/0.9527, allocations: 79.94 kB / 0.9056 GB, free: 2.508 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01528/0.9679, allocations: 6.048 MB / 0.9115 GB, free: 12.45 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.03013/0.9981, allocations: 11.31 MB / 0.9225 GB, free: 1.004 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01102/1.009, allocations: 4.139 MB / 0.9266 GB, free: 12.86 MB / 0.7013 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005426/1.015, allocations: 2.167 MB / 0.9287 GB, free: 10.68 MB / 0.7013 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007744/1.015, allocations: 130 kB / 0.9288 GB, free: 10.55 MB / 0.7013 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006018/1.021, allocations: 2.504 MB / 0.9313 GB, free: 7.984 MB / 0.7013 GB Notification: Performance of pre-optimization done (n=257): time 5.952e-06/1.021, allocations: 0 / 0.9313 GB, free: 7.984 MB / 0.7013 GB Notification: Performance of matching and sorting (n=257): time 0.01893/1.04, allocations: 6.73 MB / 0.9378 GB, free: 1.191 MB / 0.7013 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001573/1.04, allocations: 210 kB / 0.938 GB, free: 0.9414 MB / 0.7013 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005303/1.046, allocations: 2.371 MB / 0.9404 GB, free: 14.54 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0005336/1.046, allocations: 69.69 kB / 0.9404 GB, free: 14.46 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.001758/1.048, allocations: 1.336 MB / 0.9417 GB, free: 13.11 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.001382/1.049, allocations: 0.8947 MB / 0.9426 GB, free: 12.21 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001377/1.051, allocations: 456.1 kB / 0.943 GB, free: 11.76 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001584/1.051, allocations: 301.1 kB / 0.9433 GB, free: 11.46 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005017/1.056, allocations: 1.878 MB / 0.9452 GB, free: 9.578 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00562/1.062, allocations: 2.396 MB / 0.9475 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01038/1.072, allocations: 4.041 MB / 0.9514 GB, free: 2.91 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.57e-05/1.072, allocations: 8 kB / 0.9515 GB, free: 2.902 MB / 0.7169 GB Notification: Performance of matching and sorting (n=286) (initialization): time 0.01292/1.085, allocations: 4.664 MB / 0.956 GB, free: 14.18 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 4.481e-05/1.085, allocations: 4 kB / 0.956 GB, free: 14.18 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.401e-05/1.085, allocations: 5.719 kB / 0.956 GB, free: 14.17 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008088/1.086, allocations: 236.1 kB / 0.9562 GB, free: 13.94 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003978/1.09, allocations: 0.7644 MB / 0.957 GB, free: 13.18 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005145/1.095, allocations: 3.225 MB / 0.9601 GB, free: 9.844 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003769/1.099, allocations: 0.5292 MB / 0.9607 GB, free: 9.312 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004873/1.099, allocations: 99.91 kB / 0.9608 GB, free: 9.215 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 (264): * Single equations (assignments): 263 * 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 {(2,21,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002489/1.102, allocations: 0.8896 MB / 0.9616 GB, free: 8.316 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001114/1.103, allocations: 278.2 kB / 0.9619 GB, free: 8.043 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01451/1.117, allocations: 5.3 MB / 0.9671 GB, free: 2.676 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.811e-05/1.117, allocations: 32.11 kB / 0.9671 GB, free: 2.645 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.787e-05/1.117, allocations: 11.92 kB / 0.9671 GB, free: 2.633 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.363e-05/1.117, allocations: 15.89 kB / 0.9671 GB, free: 2.617 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02093/1.138, allocations: 8.382 MB / 0.9753 GB, free: 10.12 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.708e-06/1.138, allocations: 0 / 0.9753 GB, free: 10.12 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003725/1.142, allocations: 0.7254 MB / 0.976 GB, free: 9.391 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000894/1.143, allocations: 260.7 kB / 0.9763 GB, free: 9.129 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003108/1.143, allocations: 71.94 kB / 0.9763 GB, free: 9.059 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006207/1.149, allocations: 4.993 MB / 0.9812 GB, free: 3.816 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/1.149, allocations: 0 / 0.9812 GB, free: 3.816 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01851/1.168, allocations: 7.578 MB / 0.9886 GB, free: 12.14 MB / 0.7638 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002413/1.17, allocations: 0.7413 MB / 0.9893 GB, free: 11.39 MB / 0.7638 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007924/1.171, allocations: 55.89 kB / 0.9894 GB, free: 11.34 MB / 0.7638 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003339/1.174, allocations: 395.4 kB / 0.9898 GB, free: 10.95 MB / 0.7638 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004651/1.175, allocations: 181.8 kB / 0.9899 GB, free: 10.77 MB / 0.7638 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000291/1.175, allocations: 91.94 kB / 0.99 GB, free: 10.68 MB / 0.7638 GB Notification: Performance of sorting global known variables: time 0.003339/1.179, allocations: 1.728 MB / 0.9917 GB, free: 8.941 MB / 0.7638 GB Notification: Performance of sort global known variables: time 1.1e-07/1.179, allocations: 4 kB / 0.9917 GB, free: 8.938 MB / 0.7638 GB Notification: Performance of remove unused functions: time 0.003549/1.182, allocations: 0.978 MB / 0.9927 GB, free: 7.957 MB / 0.7638 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (thermalZoneOneElement.volAir.dynBal.U,thermalZoneOneElement.volAir.dynBal.m,thermalZoneOneElement.extWallRC.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 (254): * Single equations (assignments): 247 * 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 {(2,16,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.02288/1.205, allocations: 9.112 MB / 1.002 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.01214/1.217, allocations: 4.429 MB / 1.006 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 9.398e-06/1.217, allocations: 12.06 kB / 1.006 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.006314/1.223, allocations: 2.478 MB / 1.008 GB, free: 8.184 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003716/1.227, allocations: 0.6423 MB / 1.009 GB, free: 7.574 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06549/1.293, allocations: 27.83 MB / 1.036 GB, free: 11.36 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003117/1.296, allocations: 1.838 MB / 1.038 GB, free: 9.484 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.004609/1.3, allocations: 1.086 MB / 1.039 GB, free: 8.398 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003353/1.304, allocations: 1.378 MB / 1.04 GB, free: 7.02 MB / 0.8106 GB Notification: Performance of SimCode: time 1.132e-06/1.304, allocations: 0 / 1.04 GB, free: 7.02 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5523/1.856, allocations: 70.51 MB / 1.109 GB, free: 283.8 MB / 0.8263 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.5/18.35, allocations: 8.047 kB / 1.109 GB, free: 283.8 MB / 0.8263 GB " [Timeout remaining time 641] (rm -f IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe ; mkfifo IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe ; head -c 1048576 < IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe >> ../files/IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement_res.csv --start-time 0 --stop-time 3.1536e+07 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3600 IDEAS_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomOneElement.fmu > IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 22.39815499726683] Failed to read output from testmodel.py, exit status != 0: 18.61504775006324 18.626139887 17.716049549 Calling exit ...