Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.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.001373/0.001373, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.001393/0.001393, allocations: 215.6 kB / 23.03 MB, free: 4.922 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.458/1.458, allocations: 230.6 MB / 256.8 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.858/0.858, allocations: 134 MB / 447.2 MB, free: 9.953 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.SimpleRoomThreeElements,fileNamePrefix="IDEAS_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomThreeElements",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements,fileNamePrefix="IDEAS_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomThreeElements",fmuType="cs",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.002239/0.002239, allocations: 63.59 kB / 0.6192 GB, free: 6.941 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1655/0.1677, allocations: 85.92 MB / 0.7031 GB, free: 1.109 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements): time 0.6516/0.8194, allocations: 142.6 MB / 0.8424 GB, free: 4.426 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.03756/0.8569, allocations: 24.8 MB / 0.8666 GB, free: 11.55 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004366/0.8613, allocations: 103.2 kB / 0.8667 GB, free: 11.45 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.003574/0.8649, allocations: 1.072 MB / 0.8678 GB, free: 10.38 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.006466/0.8714, allocations: 1.838 MB / 0.8696 GB, free: 8.527 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.004986/0.8763, allocations: 1.793 MB / 0.8713 GB, free: 6.75 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.008013/0.8843, allocations: 5.288 MB / 0.8765 GB, free: 1.449 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005434/0.8898, allocations: 3.331 MB / 0.8798 GB, free: 14.04 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004703/0.8945, allocations: 2.238 MB / 0.8819 GB, free: 11.8 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004758/0.8992, allocations: 2.67 MB / 0.8845 GB, free: 9.121 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.001604/0.9008, allocations: 488 kB / 0.885 GB, free: 8.645 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003251/0.9041, allocations: 1.077 MB / 0.8861 GB, free: 7.566 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.002062/0.9062, allocations: 1.258 MB / 0.8873 GB, free: 6.305 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.003921/0.9101, allocations: 1.773 MB / 0.889 GB, free: 4.523 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0104/0.9205, allocations: 6.339 MB / 0.8952 GB, free: 14.17 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 8.846e-06/0.9205, allocations: 0 / 0.8952 GB, free: 14.17 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.204e-06/0.9205, allocations: 0 / 0.8952 GB, free: 14.17 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0002675/0.9208, allocations: 0 / 0.8952 GB, free: 14.17 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 882 * Number of variables: 882 Notification: Performance of Generate backend data structure: time 0.01286/0.9336, allocations: 4.833 MB / 0.8999 GB, free: 9.277 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.721e-05/0.9337, allocations: 8.031 kB / 0.8999 GB, free: 9.27 MB / 0.67 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001201/0.9338, allocations: 94.91 kB / 0.9 GB, free: 9.176 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007559/0.9345, allocations: 480.5 kB / 0.9005 GB, free: 8.695 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01721/0.9517, allocations: 3.168 MB / 0.9036 GB, free: 5.52 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006201/0.9579, allocations: 2.378 MB / 0.9059 GB, free: 3.078 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000251/0.9582, allocations: 262.9 kB / 0.9062 GB, free: 2.82 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001092/0.9593, allocations: 336 kB / 0.9065 GB, free: 2.492 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01311/0.9724, allocations: 5.719 MB / 0.9121 GB, free: 12.62 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.158e-05/0.9725, allocations: 4 kB / 0.9121 GB, free: 12.62 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003852/0.9728, allocations: 140 kB / 0.9122 GB, free: 12.48 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.285e-05/0.9729, allocations: 80 kB / 0.9123 GB, free: 12.4 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01553/0.9884, allocations: 6.535 MB / 0.9187 GB, free: 5.855 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.02749/1.016, allocations: 12.53 MB / 0.9309 GB, free: 9.188 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00884/1.025, allocations: 3.845 MB / 0.9346 GB, free: 5.336 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005449/1.03, allocations: 2.46 MB / 0.937 GB, free: 2.871 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007149/1.031, allocations: 142.2 kB / 0.9372 GB, free: 2.73 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00588/1.037, allocations: 2.699 MB / 0.9398 GB, free: 15.96 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=288): time 5.691e-06/1.037, allocations: 0 / 0.9398 GB, free: 15.96 MB / 0.7169 GB Notification: Performance of matching and sorting (n=288): time 0.02137/1.058, allocations: 8.164 MB / 0.9478 GB, free: 7.738 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001508/1.058, allocations: 210.2 kB / 0.948 GB, free: 7.488 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003725/1.062, allocations: 2.562 MB / 0.9505 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0005239/1.063, allocations: 77.7 kB / 0.9506 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.00143/1.064, allocations: 1.474 MB / 0.952 GB, free: 3.336 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.001261/1.065, allocations: 1.011 MB / 0.953 GB, free: 2.316 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001057/1.066, allocations: 0.4892 MB / 0.9535 GB, free: 1.82 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001436/1.066, allocations: 305.1 kB / 0.9538 GB, free: 1.52 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005089/1.072, allocations: 2.038 MB / 0.9558 GB, free: 15.47 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005877/1.077, allocations: 2.586 MB / 0.9583 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01056/1.088, allocations: 4.421 MB / 0.9626 GB, free: 8.246 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.144e-05/1.088, allocations: 0 / 0.9626 GB, free: 8.246 MB / 0.7325 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.01363/1.102, allocations: 5.264 MB / 0.9677 GB, free: 2.934 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.384e-05/1.102, allocations: 10.19 kB / 0.9677 GB, free: 2.926 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.7e-05/1.102, allocations: 4 kB / 0.9677 GB, free: 2.922 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001334/1.103, allocations: 0.5453 MB / 0.9683 GB, free: 2.375 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004217/1.107, allocations: 0.7839 MB / 0.969 GB, free: 1.59 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008175/1.115, allocations: 5.54 MB / 0.9745 GB, free: 11.93 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004313/1.12, allocations: 0.5446 MB / 0.975 GB, free: 11.38 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005789/1.12, allocations: 107.9 kB / 0.9751 GB, free: 11.28 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 (274): * Single equations (assignments): 273 * 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 {(4,42,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002284/1.123, allocations: 0.9734 MB / 0.976 GB, free: 10.29 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009245/1.124, allocations: 306 kB / 0.9763 GB, free: 9.992 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01424/1.138, allocations: 5.891 MB / 0.9821 GB, free: 4.039 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.942e-05/1.138, allocations: 28 kB / 0.9821 GB, free: 4.012 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.135e-05/1.138, allocations: 15.94 kB / 0.9821 GB, free: 3.996 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.759e-05/1.138, allocations: 19.88 kB / 0.9821 GB, free: 3.977 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02235/1.16, allocations: 9.4 MB / 0.9913 GB, free: 10.47 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.043e-05/1.16, allocations: 4 kB / 0.9913 GB, free: 10.47 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004095/1.164, allocations: 0.7449 MB / 0.9921 GB, free: 9.723 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001589/1.166, allocations: 0.5293 MB / 0.9926 GB, free: 9.184 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005691/1.166, allocations: 79.94 kB / 0.9927 GB, free: 9.105 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009254/1.176, allocations: 7.267 MB / 0.9997 GB, free: 1.582 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/1.176, allocations: 0 / 0.9997 GB, free: 1.582 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01949/1.195, allocations: 8.436 MB / 1.008 GB, free: 9.059 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002384/1.198, allocations: 0.8115 MB / 1.009 GB, free: 8.246 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006561/1.198, allocations: 59.95 kB / 1.009 GB, free: 8.188 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003234/1.201, allocations: 405.9 kB / 1.009 GB, free: 7.793 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005113/1.202, allocations: 206 kB / 1.009 GB, free: 7.59 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002796/1.202, allocations: 103.9 kB / 1.01 GB, free: 7.488 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.002858/1.205, allocations: 1.87 MB / 1.011 GB, free: 5.609 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/1.205, allocations: 0 / 1.011 GB, free: 5.609 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.003345/1.208, allocations: 1.111 MB / 1.012 GB, free: 4.496 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (thermalZoneThreeElements.volAir.dynBal.U,thermalZoneThreeElements.volAir.dynBal.m,thermalZoneThreeElements.extWallRC.thermCapExt[1].T,thermalZoneThreeElements.intWallRC.thermCapInt[1].T,thermalZoneThreeElements.floorRC.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 (263): * Single equations (assignments): 256 * 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 {(4,36,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.02416/1.233, allocations: 10 MB / 1.022 GB, free: 10.84 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.01333/1.246, allocations: 4.925 MB / 1.027 GB, free: 5.871 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 6.622e-06/1.246, allocations: 0 / 1.027 GB, free: 5.871 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.007029/1.253, allocations: 2.819 MB / 1.03 GB, free: 3.023 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003522/1.257, allocations: 0.7156 MB / 1.03 GB, free: 2.344 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0685/1.325, allocations: 31.05 MB / 1.061 GB, free: 2.969 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00244/1.327, allocations: 2.023 MB / 1.063 GB, free: 0.9023 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.3464/1.674, allocations: 1.119 MB / 1.064 GB, free: 301.3 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003135/1.677, allocations: 1.532 MB / 1.065 GB, free: 301.2 MB / 0.8262 GB Notification: Performance of SimCode: time 1.012e-06/1.677, allocations: 0 / 1.065 GB, free: 301.2 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1274/1.804, allocations: 80.44 MB / 1.144 GB, free: 248 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.86/21.66, allocations: 8 kB / 1.144 GB, free: 248 MB / 0.8262 GB " [Timeout remaining time 638] (rm -f IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe ; mkfifo IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe ; head -c 1048576 < IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe >> ../files/IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomThreeElements_fmu --startTime=0 --stopTime=3.1536e+07 --stepSize=3600 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomThreeElements.fmu > IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 25.632390890968964] Failed to read output from testmodel.py, exit status != 0: 21.977559812017716 21.990122138 21.066977857 Calling exit ...