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.001878/0.001878, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002411/0.002411, allocations: 221.5 kB / 22.26 MB, free: 5.125 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.465/1.465, allocations: 230.6 MB / 256 MB, free: 7.953 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.8492/0.8492, allocations: 134 MB / 446.4 MB, free: 10.21 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.002014/0.002014, allocations: 65.28 kB / 0.6185 GB, free: 7.234 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1824/0.1844, allocations: 85.9 MB / 0.7024 GB, free: 1.398 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement): time 0.6004/0.7848, allocations: 163.9 MB / 0.8625 GB, free: 2.594 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.03975/0.8245, allocations: 26.91 MB / 0.8888 GB, free: 7.598 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003099/0.8276, allocations: 91.31 kB / 0.8889 GB, free: 7.508 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.002702/0.8303, allocations: 1.006 MB / 0.8899 GB, free: 6.496 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.005457/0.8358, allocations: 1.683 MB / 0.8915 GB, free: 4.812 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.00451/0.8403, allocations: 1.675 MB / 0.8931 GB, free: 3.148 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.006761/0.847, allocations: 4.633 MB / 0.8977 GB, free: 14.5 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0051/0.8521, allocations: 2.991 MB / 0.9006 GB, free: 11.45 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00396/0.8561, allocations: 2.026 MB / 0.9026 GB, free: 9.414 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00399/0.8601, allocations: 2.409 MB / 0.9049 GB, free: 6.996 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.001257/0.8614, allocations: 428 kB / 0.9053 GB, free: 6.578 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003093/0.8644, allocations: 1.093 MB / 0.9064 GB, free: 5.484 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.001522/0.866, allocations: 1.118 MB / 0.9075 GB, free: 4.363 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.002793/0.8688, allocations: 1.943 MB / 0.9094 GB, free: 2.41 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.007674/0.8764, allocations: 5.603 MB / 0.9148 GB, free: 12.79 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.8764, allocations: 0 / 0.9148 GB, free: 12.79 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.663e-06/0.8764, allocations: 0 / 0.9148 GB, free: 12.79 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0001139/0.8766, allocations: 0 / 0.9148 GB, free: 12.79 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: 790 * Number of variables: 790 Notification: Performance of Generate backend data structure: time 0.009414/0.886, allocations: 4.377 MB / 0.9191 GB, free: 8.352 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.686e-05/0.886, allocations: 8.031 kB / 0.9191 GB, free: 8.344 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000592/0.8866, allocations: 442.1 kB / 0.9195 GB, free: 7.898 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01627/0.9029, allocations: 3.125 MB / 0.9226 GB, free: 4.766 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005239/0.9081, allocations: 2.2 MB / 0.9247 GB, free: 2.5 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002108/0.9083, allocations: 234.2 kB / 0.925 GB, free: 2.27 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006671/0.909, allocations: 300 kB / 0.9253 GB, free: 1.977 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01112/0.9201, allocations: 4.956 MB / 0.9301 GB, free: 12.94 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.522e-05/0.9202, allocations: 15.92 kB / 0.9301 GB, free: 12.92 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003404/0.9205, allocations: 128 kB / 0.9302 GB, free: 12.8 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.28e-05/0.9206, allocations: 75.94 kB / 0.9303 GB, free: 12.72 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01468/0.9353, allocations: 6.103 MB / 0.9363 GB, free: 6.605 MB / 0.7012 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.02761/0.9629, allocations: 13.54 MB / 0.9495 GB, free: 8.625 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01019/0.9731, allocations: 4.145 MB / 0.9535 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005151/0.9782, allocations: 2.159 MB / 0.9556 GB, free: 2.312 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007061/0.9789, allocations: 149.9 kB / 0.9558 GB, free: 2.164 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00547/0.9844, allocations: 2.374 MB / 0.9581 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=257): time 4.589e-06/0.9844, allocations: 0 / 0.9581 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of matching and sorting (n=257): time 0.01691/1.001, allocations: 6.718 MB / 0.9647 GB, free: 8.969 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001941/1.002, allocations: 206 kB / 0.9649 GB, free: 8.723 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004394/1.006, allocations: 2.352 MB / 0.9672 GB, free: 6.34 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0004343/1.006, allocations: 69.7 kB / 0.9672 GB, free: 6.266 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001592/1.008, allocations: 1.343 MB / 0.9685 GB, free: 4.906 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.001367/1.009, allocations: 0.8946 MB / 0.9694 GB, free: 4.004 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009792/1.01, allocations: 460.1 kB / 0.9699 GB, free: 3.547 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001463/1.01, allocations: 301.1 kB / 0.9701 GB, free: 3.25 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004618/1.015, allocations: 1.874 MB / 0.972 GB, free: 1.371 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004981/1.02, allocations: 2.19 MB / 0.9741 GB, free: 15.09 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009747/1.03, allocations: 4.037 MB / 0.978 GB, free: 10.96 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.236e-05/1.03, allocations: 7.938 kB / 0.9781 GB, free: 10.95 MB / 0.7481 GB Notification: Performance of matching and sorting (n=286) (initialization): time 0.01155/1.041, allocations: 4.652 MB / 0.9826 GB, free: 6.246 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.721e-05/1.041, allocations: 6.188 kB / 0.9826 GB, free: 6.242 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.615e-05/1.041, allocations: 4 kB / 0.9826 GB, free: 6.238 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006578/1.042, allocations: 235.5 kB / 0.9828 GB, free: 6.008 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003847/1.046, allocations: 0.7644 MB / 0.9836 GB, free: 5.242 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004474/1.05, allocations: 3.276 MB / 0.9868 GB, free: 1.859 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003571/1.054, allocations: 0.5213 MB / 0.9873 GB, free: 1.336 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003613/1.054, allocations: 107.9 kB / 0.9874 GB, free: 1.23 MB / 0.7481 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.001931/1.056, allocations: 0.8808 MB / 0.9883 GB, free: 348 kB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006502/1.057, allocations: 282.1 kB / 0.9885 GB, free: 64 kB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01259/1.069, allocations: 5.266 MB / 0.9937 GB, free: 10.73 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.215e-05/1.069, allocations: 28.11 kB / 0.9937 GB, free: 10.7 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.078e-05/1.069, allocations: 7.938 kB / 0.9937 GB, free: 10.7 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.752e-05/1.07, allocations: 15.89 kB / 0.9937 GB, free: 10.68 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01854/1.088, allocations: 8.857 MB / 1.002 GB, free: 1.703 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.997e-06/1.088, allocations: 0 / 1.002 GB, free: 1.703 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003725/1.092, allocations: 0.7177 MB / 1.003 GB, free: 0.9844 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008478/1.093, allocations: 266.3 kB / 1.003 GB, free: 0.7148 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002823/1.093, allocations: 71.94 kB / 1.003 GB, free: 0.6445 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005651/1.099, allocations: 5.031 MB / 1.008 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/1.099, allocations: 4 kB / 1.008 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0177/1.116, allocations: 7.535 MB / 1.016 GB, free: 3.73 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002169/1.118, allocations: 0.7336 MB / 1.016 GB, free: 2.992 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007394/1.119, allocations: 59.88 kB / 1.016 GB, free: 2.934 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003272/1.122, allocations: 393.6 kB / 1.017 GB, free: 2.551 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005123/1.123, allocations: 177.7 kB / 1.017 GB, free: 2.375 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003251/1.123, allocations: 95.94 kB / 1.017 GB, free: 2.281 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.003157/1.126, allocations: 1.713 MB / 1.019 GB, free: 0.5547 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/1.126, allocations: 0 / 1.019 GB, free: 0.5547 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.003215/1.13, allocations: 0.9819 MB / 1.02 GB, free: 15.57 MB / 0.795 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 (251): * Single equations (assignments): 244 * 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.02257/1.152, allocations: 9.022 MB / 1.029 GB, free: 6.828 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.01219/1.164, allocations: 4.417 MB / 1.033 GB, free: 2.363 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 5.841e-06/1.164, allocations: 0 / 1.033 GB, free: 2.363 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.006844/1.171, allocations: 2.467 MB / 1.035 GB, free: 15.86 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004224/1.176, allocations: 0.6415 MB / 1.036 GB, free: 15.25 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06892/1.244, allocations: 27.79 MB / 1.063 GB, free: 3.094 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004286/1.249, allocations: 2.378 MB / 1.065 GB, free: 0.6836 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.3957/1.644, allocations: 1.069 MB / 1.066 GB, free: 302.2 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002954/1.647, allocations: 1.375 MB / 1.068 GB, free: 302.2 MB / 0.8262 GB Notification: Performance of SimCode: time 1.503e-06/1.647, allocations: 0.9062 kB / 1.068 GB, free: 302.2 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.13/1.777, allocations: 68.93 MB / 1.135 GB, free: 260.5 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.65/20.42, allocations: 7.922 kB / 1.135 GB, free: 260.5 MB / 0.8262 GB " [Timeout remaining time 639] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomOneElement_fmu --startTime=0 --stopTime=3.1536e+07 --stepSize=3600 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomOneElement.fmu > IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 29.586091957986355] Failed to read output from testmodel.py, exit status != 0: 20.689954091096297 20.711460764 19.830890189 Calling exit ...