Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.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.001863/0.001863, allocations: 113 kB / 18.94 MB, free: 2.934 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.002557/0.002557, allocations: 209 kB / 22.25 MB, free: 5.086 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.031 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.8531/0.8531, allocations: 134 MB / 446.4 MB, free: 10.27 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.SimpleRoomFourElements,fileNamePrefix="IDEAS_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomFourElements",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements,fileNamePrefix="IDEAS_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomFourElements",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.002026/0.002026, allocations: 66.11 kB / 0.6185 GB, free: 7.258 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1745/0.1765, allocations: 85.91 MB / 0.7024 GB, free: 1.43 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements): time 0.6034/0.7799, allocations: 166.9 MB / 0.8654 GB, free: 15.62 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.04156/0.8214, allocations: 27.77 MB / 0.8925 GB, free: 3.777 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004147/0.8256, allocations: 107.2 kB / 0.8926 GB, free: 3.672 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.003731/0.8293, allocations: 1.154 MB / 0.8938 GB, free: 2.512 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.007077/0.8364, allocations: 1.972 MB / 0.8957 GB, free: 0.5312 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0065/0.8429, allocations: 2.055 MB / 0.8977 GB, free: 14.49 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.01083/0.8537, allocations: 5.924 MB / 0.9035 GB, free: 8.555 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00858/0.8623, allocations: 3.582 MB / 0.907 GB, free: 4.895 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006561/0.8689, allocations: 2.41 MB / 0.9093 GB, free: 2.48 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006516/0.8754, allocations: 2.919 MB / 0.9122 GB, free: 15.55 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.002717/0.8781, allocations: 0.5234 MB / 0.9127 GB, free: 15.03 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005385/0.8835, allocations: 1.186 MB / 0.9139 GB, free: 13.84 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.003539/0.887, allocations: 1.383 MB / 0.9152 GB, free: 12.45 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.006682/0.8937, allocations: 2.395 MB / 0.9175 GB, free: 10.05 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.01684/0.9105, allocations: 6.864 MB / 0.9242 GB, free: 3.164 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 7.614e-06/0.9106, allocations: 4 kB / 0.9242 GB, free: 3.16 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.334e-06/0.9106, allocations: 0 / 0.9242 GB, free: 3.16 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0002964/0.9108, allocations: 0 / 0.9242 GB, free: 3.16 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: 962 * Number of variables: 962 Notification: Performance of Generate backend data structure: time 0.02309/0.9339, allocations: 5.189 MB / 0.9293 GB, free: 13.91 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 7.464e-05/0.934, allocations: 16.03 kB / 0.9293 GB, free: 13.89 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002668/0.9367, allocations: 0.5104 MB / 0.9298 GB, free: 13.37 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03015/0.9668, allocations: 3.211 MB / 0.933 GB, free: 10.15 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01034/0.9772, allocations: 2.532 MB / 0.9354 GB, free: 7.562 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004683/0.9776, allocations: 279.5 kB / 0.9357 GB, free: 7.289 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00186/0.9795, allocations: 372 kB / 0.9361 GB, free: 6.926 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01724/0.9967, allocations: 5.728 MB / 0.9417 GB, free: 1.137 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001235/0.9969, allocations: 4 kB / 0.9417 GB, free: 1.133 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000906/0.9978, allocations: 152 kB / 0.9418 GB, free: 0.9844 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001816/0.9979, allocations: 95.94 kB / 0.9419 GB, free: 0.8906 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01802/1.016, allocations: 6.858 MB / 0.9486 GB, free: 10.02 MB / 0.7169 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.03988/1.056, allocations: 17.23 MB / 0.9654 GB, free: 8.02 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0105/1.066, allocations: 4.223 MB / 0.9695 GB, free: 3.797 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006533/1.073, allocations: 2.713 MB / 0.9722 GB, free: 1.078 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008895/1.074, allocations: 158.2 kB / 0.9723 GB, free: 0.9219 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007044/1.081, allocations: 2.717 MB / 0.975 GB, free: 14.17 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=315): time 5.581e-06/1.081, allocations: 0 / 0.975 GB, free: 14.17 MB / 0.7481 GB Notification: Performance of matching and sorting (n=315): time 0.02822/1.109, allocations: 9.374 MB / 0.9841 GB, free: 4.734 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001656/1.109, allocations: 214.4 kB / 0.9844 GB, free: 4.48 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004929/1.114, allocations: 2.699 MB / 0.987 GB, free: 1.77 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0006246/1.115, allocations: 77.7 kB / 0.9871 GB, free: 1.688 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.001884/1.117, allocations: 1.588 MB / 0.9886 GB, free: 88 kB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.001752/1.118, allocations: 1.092 MB / 0.9897 GB, free: 14.98 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001791/1.12, allocations: 0.5329 MB / 0.9902 GB, free: 14.44 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001419/1.12, allocations: 305.1 kB / 0.9905 GB, free: 14.14 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006206/1.127, allocations: 2.168 MB / 0.9926 GB, free: 11.97 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005693/1.132, allocations: 2.517 MB / 0.9951 GB, free: 9.363 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01115/1.143, allocations: 4.676 MB / 0.9996 GB, free: 4.605 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-05/1.143, allocations: 7.984 kB / 0.9996 GB, free: 4.598 MB / 0.7637 GB Notification: Performance of matching and sorting (n=347) (initialization): time 0.01394/1.157, allocations: 5.73 MB / 1.005 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.743e-05/1.157, allocations: 8 kB / 1.005 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.727e-05/1.157, allocations: 4.094 kB / 1.005 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001932/1.159, allocations: 0.8414 MB / 1.006 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004022/1.163, allocations: 0.7918 MB / 1.007 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01231/1.176, allocations: 7.475 MB / 1.014 GB, free: 5.582 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004321/1.18, allocations: 0.5679 MB / 1.015 GB, free: 5.012 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007526/1.181, allocations: 115.9 kB / 1.015 GB, free: 4.898 MB / 0.7794 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 (283): * Single equations (assignments): 282 * 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 {(5,60,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003064/1.184, allocations: 1.024 MB / 1.016 GB, free: 3.863 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001232/1.185, allocations: 325.9 kB / 1.016 GB, free: 3.543 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01645/1.201, allocations: 6.362 MB / 1.022 GB, free: 13.12 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.349e-05/1.201, allocations: 32 kB / 1.022 GB, free: 13.09 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.909e-05/1.202, allocations: 15.98 kB / 1.022 GB, free: 13.07 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.804e-05/1.202, allocations: 11.95 kB / 1.022 GB, free: 13.06 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0247/1.226, allocations: 10.74 MB / 1.033 GB, free: 2.195 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.118e-05/1.226, allocations: 0 / 1.033 GB, free: 2.195 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004079/1.23, allocations: 0.7645 MB / 1.034 GB, free: 1.43 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001985/1.232, allocations: 0.7379 MB / 1.034 GB, free: 0.6797 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004532/1.233, allocations: 83.94 kB / 1.034 GB, free: 0.5977 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01406/1.247, allocations: 10.37 MB / 1.045 GB, free: 5.863 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/1.247, allocations: 4 kB / 1.045 GB, free: 5.859 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02214/1.269, allocations: 9.051 MB / 1.053 GB, free: 12.72 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002665/1.272, allocations: 0.8621 MB / 1.054 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009615/1.273, allocations: 75.88 kB / 1.054 GB, free: 11.78 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003546/1.276, allocations: 399.4 kB / 1.055 GB, free: 11.39 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006754/1.277, allocations: 226.1 kB / 1.055 GB, free: 11.17 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004038/1.277, allocations: 111.9 kB / 1.055 GB, free: 11.06 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.003784/1.281, allocations: 1.956 MB / 1.057 GB, free: 9.098 MB / 0.8262 GB Notification: Performance of sort global known variables: time 9.1e-08/1.281, allocations: 0 / 1.057 GB, free: 9.098 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.004192/1.285, allocations: 1.228 MB / 1.058 GB, free: 7.867 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (thermalZoneFourElements.volAir.dynBal.U,thermalZoneFourElements.volAir.dynBal.m,thermalZoneFourElements.extWallRC.thermCapExt[1].T,thermalZoneFourElements.intWallRC.thermCapInt[1].T,thermalZoneFourElements.floorRC.thermCapExt[1].T,thermalZoneFourElements.roofRC.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 (270): * Single equations (assignments): 262 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,49,100.0%), (1,3,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.3781/1.663, allocations: 10.55 MB / 1.068 GB, free: 300.6 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.01404/1.677, allocations: 5.302 MB / 1.074 GB, free: 300.1 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 7.755e-06/1.677, allocations: 1.719 kB / 1.074 GB, free: 300.1 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.007886/1.685, allocations: 3.151 MB / 1.077 GB, free: 299 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003905/1.689, allocations: 0.7727 MB / 1.077 GB, free: 298.7 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06496/1.754, allocations: 33.4 MB / 1.11 GB, free: 285.9 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002025/1.756, allocations: 2.703 MB / 1.113 GB, free: 283.2 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.00384/1.76, allocations: 1.164 MB / 1.114 GB, free: 282 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002263/1.762, allocations: 1.647 MB / 1.115 GB, free: 280.4 MB / 0.8262 GB Notification: Performance of SimCode: time 1.944e-06/1.762, allocations: 0 / 1.115 GB, free: 280.4 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.14/1.902, allocations: 84.98 MB / 1.198 GB, free: 195.8 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.94/21.84, allocations: 7.328 kB / 1.198 GB, free: 195.8 MB / 0.8262 GB " [Timeout remaining time 638] (rm -f IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe ; mkfifo IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe ; head -c 1048576 < IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe >> ../files/IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomFourElements_fmu --startTime=0 --stopTime=3.1536e+07 --stepSize=3600 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomFourElements.fmu > IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 31.598960738861933] Failed to read output from testmodel.py, exit status != 0: 22.129499790025875 22.141008676 21.227592624 Calling exit ...