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.001975/0.001975, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.001763/0.001763, allocations: 216.4 kB / 22.26 MB, free: 5.113 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.472/1.472, allocations: 230.6 MB / 256 MB, free: 8.02 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.9243/0.9243, allocations: 134 MB / 446.4 MB, free: 10.2 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.001978/0.001978, allocations: 65.64 kB / 0.6185 GB, free: 7.223 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1584/0.1604, allocations: 85.91 MB / 0.7024 GB, free: 1.398 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements): time 0.5979/0.7583, allocations: 164.6 MB / 0.8631 GB, free: 1.898 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.03924/0.7975, allocations: 27.1 MB / 0.8896 GB, free: 6.719 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003237/0.8008, allocations: 99.25 kB / 0.8897 GB, free: 6.621 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.002933/0.8037, allocations: 1.037 MB / 0.8907 GB, free: 5.578 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.00634/0.81, allocations: 1.74 MB / 0.8924 GB, free: 3.832 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.00559/0.8156, allocations: 1.746 MB / 0.8941 GB, free: 2.102 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.008803/0.8244, allocations: 4.894 MB / 0.8989 GB, free: 13.2 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006424/0.8308, allocations: 3.11 MB / 0.9019 GB, free: 10.02 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005079/0.8359, allocations: 2.109 MB / 0.904 GB, free: 7.91 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004629/0.8406, allocations: 2.522 MB / 0.9064 GB, free: 5.379 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.001475/0.842, allocations: 456 kB / 0.9069 GB, free: 4.934 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00337/0.8454, allocations: 1.112 MB / 0.908 GB, free: 3.82 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.001917/0.8473, allocations: 1.184 MB / 0.9091 GB, free: 2.633 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.004077/0.8514, allocations: 2.041 MB / 0.9111 GB, free: 0.582 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.01012/0.8615, allocations: 5.887 MB / 0.9169 GB, free: 10.68 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.8615, allocations: 0 / 0.9169 GB, free: 10.68 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.733e-06/0.8615, allocations: 3.938 kB / 0.9169 GB, free: 10.67 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.000184/0.8617, allocations: 0 / 0.9169 GB, free: 10.67 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: 826 * Number of variables: 826 Notification: Performance of Generate backend data structure: time 0.01264/0.8743, allocations: 4.569 MB / 0.9213 GB, free: 6.039 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 5.189e-05/0.8744, allocations: 12.03 kB / 0.9213 GB, free: 6.027 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001246/0.8756, allocations: 459 kB / 0.9218 GB, free: 5.566 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0167/0.8923, allocations: 3.149 MB / 0.9249 GB, free: 2.41 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006323/0.8987, allocations: 2.271 MB / 0.9271 GB, free: 76 kB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002845/0.899, allocations: 242.5 kB / 0.9273 GB, free: 15.83 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001138/0.9001, allocations: 316 kB / 0.9276 GB, free: 15.52 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01327/0.9134, allocations: 5.14 MB / 0.9326 GB, free: 10.3 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.632e-05/0.9134, allocations: 0 / 0.9326 GB, free: 10.3 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003933/0.9138, allocations: 132 kB / 0.9328 GB, free: 10.18 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.775e-05/0.9139, allocations: 83.94 kB / 0.9328 GB, free: 10.09 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01622/0.9301, allocations: 6.292 MB / 0.939 GB, free: 3.789 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.02952/0.9596, allocations: 14.4 MB / 0.953 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01129/0.9709, allocations: 4.299 MB / 0.9572 GB, free: 0.5469 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00603/0.977, allocations: 2.29 MB / 0.9595 GB, free: 14.25 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008034/0.9778, allocations: 150.1 kB / 0.9596 GB, free: 14.1 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006187/0.9839, allocations: 2.466 MB / 0.962 GB, free: 11.59 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=270): time 5.631e-06/0.9839, allocations: 4 kB / 0.962 GB, free: 11.59 MB / 0.7325 GB Notification: Performance of matching and sorting (n=270): time 0.02091/1.005, allocations: 7.299 MB / 0.9692 GB, free: 4.227 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001792/1.005, allocations: 206.2 kB / 0.9694 GB, free: 3.98 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005238/1.01, allocations: 2.442 MB / 0.9717 GB, free: 1.512 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0006334/1.011, allocations: 73.7 kB / 0.9718 GB, free: 1.434 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001818/1.013, allocations: 1.395 MB / 0.9732 GB, free: 24 kB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.001678/1.014, allocations: 0.9414 MB / 0.9741 GB, free: 15.07 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00183/1.016, allocations: 476.4 kB / 0.9745 GB, free: 14.6 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.000143/1.016, allocations: 309.1 kB / 0.9748 GB, free: 14.29 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00505/1.021, allocations: 1.944 MB / 0.9767 GB, free: 12.34 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005564/1.027, allocations: 2.271 MB / 0.979 GB, free: 9.984 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01066/1.038, allocations: 4.203 MB / 0.9831 GB, free: 5.691 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.078e-05/1.038, allocations: 4 kB / 0.9831 GB, free: 5.688 MB / 0.7481 GB Notification: Performance of matching and sorting (n=300) (initialization): time 0.01335/1.051, allocations: 4.905 MB / 0.9879 GB, free: 0.7305 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 3.356e-05/1.051, allocations: 8 kB / 0.9879 GB, free: 0.7227 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.621e-05/1.051, allocations: 4 kB / 0.9879 GB, free: 0.7188 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009507/1.052, allocations: 344.8 kB / 0.9882 GB, free: 388 kB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004026/1.056, allocations: 0.7722 MB / 0.989 GB, free: 15.61 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006476/1.063, allocations: 4.153 MB / 0.993 GB, free: 11.34 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003986/1.067, allocations: 0.5291 MB / 0.9935 GB, free: 10.81 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006789/1.067, allocations: 104 kB / 0.9936 GB, free: 10.71 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 (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.00282/1.07, allocations: 0.9383 MB / 0.9945 GB, free: 9.762 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001139/1.071, allocations: 282.2 kB / 0.9948 GB, free: 9.484 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01508/1.086, allocations: 5.539 MB / 1 GB, free: 3.879 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.201e-05/1.086, allocations: 28 kB / 1 GB, free: 3.852 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.064e-05/1.086, allocations: 4 kB / 1 GB, free: 3.848 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.199e-05/1.086, allocations: 11.95 kB / 1 GB, free: 3.836 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02302/1.109, allocations: 9.33 MB / 1.009 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.46e-05/1.109, allocations: 0 / 1.009 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004341/1.114, allocations: 0.7332 MB / 1.01 GB, free: 9.656 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001243/1.115, allocations: 382.5 kB / 1.01 GB, free: 9.273 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005422/1.115, allocations: 75.94 kB / 1.011 GB, free: 9.199 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00783/1.123, allocations: 6.101 MB / 1.016 GB, free: 2.855 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.043e-06/1.123, allocations: 0 / 1.016 GB, free: 2.855 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01871/1.142, allocations: 7.933 MB / 1.024 GB, free: 10.83 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002396/1.144, allocations: 0.7648 MB / 1.025 GB, free: 10.06 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004944/1.145, allocations: 59.89 kB / 1.025 GB, free: 10 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002898/1.148, allocations: 387.4 kB / 1.025 GB, free: 9.621 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004537/1.148, allocations: 189.8 kB / 1.026 GB, free: 9.434 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002622/1.149, allocations: 103.9 kB / 1.026 GB, free: 9.332 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.002903/1.151, allocations: 1.777 MB / 1.027 GB, free: 7.543 MB / 0.795 GB Notification: Performance of sort global known variables: time 2.7e-07/1.151, allocations: 4 kB / 1.027 GB, free: 7.539 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.003134/1.155, allocations: 1.029 MB / 1.028 GB, free: 6.508 MB / 0.795 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 (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 {(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.0221/1.177, allocations: 9.406 MB / 1.038 GB, free: 13.38 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.01187/1.189, allocations: 4.617 MB / 1.042 GB, free: 8.711 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 6.582e-06/1.189, allocations: 128 / 1.042 GB, free: 8.711 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.006385/1.195, allocations: 2.624 MB / 1.045 GB, free: 6.055 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003325/1.198, allocations: 0.6744 MB / 1.045 GB, free: 5.414 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4276/1.626, allocations: 29.15 MB / 1.074 GB, free: 300.7 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002985/1.629, allocations: 2.46 MB / 1.076 GB, free: 299.9 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.004104/1.633, allocations: 1.101 MB / 1.077 GB, free: 299.9 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00241/1.635, allocations: 1.454 MB / 1.079 GB, free: 298.8 MB / 0.8262 GB Notification: Performance of SimCode: time 8.52e-07/1.635, allocations: 0 / 1.079 GB, free: 298.8 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1233/1.759, allocations: 72.71 MB / 1.15 GB, free: 245.9 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.05/20.81, allocations: 0 / 1.15 GB, free: 245.9 MB / 0.8262 GB " [Timeout remaining time 639] (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 sys.exit(0), Time elapsed: 30.11265699402429] Failed to read output from testmodel.py, exit status != 0: 21.07780122407712 21.089680981 20.2254705 Calling exit ...