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.001382/0.001382, allocations: 99.64 kB / 18.95 MB, free: 2.676 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.001536/0.001536, allocations: 204.8 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.561/1.561, allocations: 230.6 MB / 256 MB, free: 7.785 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.9105/0.9105, allocations: 134 MB / 446.4 MB, free: 9.934 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: translateModel(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=8760,variableFilter="",fileNamePrefix="IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements") translateModel(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=8760,variableFilter="",fileNamePrefix="IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements") [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.001992/0.001992, allocations: 62.75 kB / 0.6189 GB, free: 6.402 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2132/0.2152, allocations: 85.92 MB / 0.7028 GB, free: 0.5664 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements): time 0.6746/0.8897, allocations: 143.9 MB / 0.8434 GB, free: 2.848 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.04637/0.9361, allocations: 25.23 MB / 0.868 GB, free: 9.543 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005853/0.942, allocations: 111.2 kB / 0.8681 GB, free: 9.434 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.004003/0.946, allocations: 1.146 MB / 0.8692 GB, free: 8.281 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.008509/0.9545, allocations: 1.962 MB / 0.8712 GB, free: 6.312 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.006888/0.9614, allocations: 1.993 MB / 0.8731 GB, free: 4.336 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.01007/0.9714, allocations: 5.916 MB / 0.8789 GB, free: 14.41 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007619/0.979, allocations: 3.54 MB / 0.8823 GB, free: 10.79 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006749/0.9858, allocations: 2.418 MB / 0.8847 GB, free: 8.367 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006222/0.992, allocations: 2.896 MB / 0.8875 GB, free: 5.461 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.002254/0.9943, allocations: 0.5234 MB / 0.888 GB, free: 4.938 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00441/0.9987, allocations: 1.109 MB / 0.8891 GB, free: 3.828 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.003104/1.002, allocations: 1.386 MB / 0.8905 GB, free: 2.438 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0055/1.007, allocations: 1.948 MB / 0.8924 GB, free: 492 kB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.01612/1.023, allocations: 6.888 MB / 0.8991 GB, free: 9.574 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 1.056e-05/1.023, allocations: 0 / 0.8991 GB, free: 9.574 MB / 0.67 GB Notification: Performance of FrontEnd: time 3.166e-06/1.023, allocations: 4 kB / 0.8991 GB, free: 9.57 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0005176/1.024, allocations: 0 / 0.8991 GB, free: 9.57 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: 962 * Number of variables: 962 Notification: Performance of Generate backend data structure: time 0.01987/1.044, allocations: 5.189 MB / 0.9042 GB, free: 4.316 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 5.113e-05/1.044, allocations: 8.031 kB / 0.9042 GB, free: 4.309 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01728/1.061, allocations: 3.211 MB / 0.9073 GB, free: 1.09 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007396/1.069, allocations: 2.528 MB / 0.9098 GB, free: 14.5 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002694/1.069, allocations: 279.5 kB / 0.91 GB, free: 14.23 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009555/1.07, allocations: 372 kB / 0.9104 GB, free: 13.86 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01376/1.084, allocations: 6.058 MB / 0.9163 GB, free: 7.664 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.265e-05/1.084, allocations: 11.89 kB / 0.9163 GB, free: 7.652 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003998/1.084, allocations: 152 kB / 0.9165 GB, free: 7.504 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.462e-05/1.084, allocations: 95.94 kB / 0.9166 GB, free: 7.41 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01675/1.101, allocations: 6.799 MB / 0.9232 GB, free: 0.6055 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.03298/1.134, allocations: 12.91 MB / 0.9358 GB, free: 3.578 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01186/1.146, allocations: 4.229 MB / 0.9399 GB, free: 15.35 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007898/1.154, allocations: 2.713 MB / 0.9426 GB, free: 12.63 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009316/1.154, allocations: 130.3 kB / 0.9427 GB, free: 12.5 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008565/1.163, allocations: 2.855 MB / 0.9455 GB, free: 9.582 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=315): time 7.363e-06/1.163, allocations: 3.938 kB / 0.9455 GB, free: 9.578 MB / 0.7169 GB Notification: Performance of matching and sorting (n=315): time 0.03244/1.196, allocations: 9.358 MB / 0.9546 GB, free: 164 kB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002189/1.196, allocations: 218.5 kB / 0.9549 GB, free: 15.9 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005612/1.201, allocations: 2.417 MB / 0.9572 GB, free: 13.45 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0009969/1.202, allocations: 85.7 kB / 0.9573 GB, free: 13.36 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.002414/1.205, allocations: 1.578 MB / 0.9588 GB, free: 11.77 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.002323/1.207, allocations: 1.1 MB / 0.9599 GB, free: 10.66 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002459/1.21, allocations: 0.5448 MB / 0.9604 GB, free: 10.11 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002289/1.21, allocations: 305.1 kB / 0.9607 GB, free: 9.812 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006288/1.216, allocations: 2.187 MB / 0.9629 GB, free: 7.621 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006715/1.223, allocations: 2.776 MB / 0.9656 GB, free: 4.707 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01273/1.235, allocations: 4.712 MB / 0.9702 GB, free: 15.91 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.556e-05/1.236, allocations: 0 / 0.9702 GB, free: 15.91 MB / 0.7481 GB Notification: Performance of matching and sorting (n=355) (initialization): time 0.01607/1.252, allocations: 5.771 MB / 0.9758 GB, free: 10.09 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 4.655e-05/1.252, allocations: 8 kB / 0.9758 GB, free: 10.09 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.246e-05/1.252, allocations: 4 kB / 0.9758 GB, free: 10.08 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002277/1.254, allocations: 0.8375 MB / 0.9767 GB, free: 9.242 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004427/1.258, allocations: 0.8112 MB / 0.9774 GB, free: 8.43 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01266/1.271, allocations: 7.288 MB / 0.9846 GB, free: 1.039 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00451/1.276, allocations: 0.5431 MB / 0.9851 GB, free: 0.4961 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008198/1.276, allocations: 119.9 kB / 0.9852 GB, free: 388 kB / 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: 13 ($PRE.intGai.nextTimeEvent,$whenCondition1,weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,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 (291): * Single equations (assignments): 290 * 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.003292/1.28, allocations: 1.032 MB / 0.9862 GB, free: 15.33 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001306/1.281, allocations: 302 kB / 0.9865 GB, free: 15.04 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01578/1.297, allocations: 6.356 MB / 0.9927 GB, free: 8.617 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.052e-05/1.297, allocations: 32 kB / 0.9927 GB, free: 8.586 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.555e-05/1.297, allocations: 8 kB / 0.9927 GB, free: 8.578 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.187e-05/1.297, allocations: 15.94 kB / 0.9928 GB, free: 8.562 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02262/1.319, allocations: 9.754 MB / 1.002 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-05/1.319, allocations: 0 / 1.002 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003962/1.323, allocations: 0.7645 MB / 1.003 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001976/1.325, allocations: 0.7341 MB / 1.004 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000387/1.326, allocations: 87.92 kB / 1.004 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01349/1.339, allocations: 10.14 MB / 1.014 GB, free: 2.648 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/1.339, allocations: 0 / 1.014 GB, free: 2.648 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02277/1.362, allocations: 9.058 MB / 1.023 GB, free: 9.508 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003234/1.365, allocations: 0.8387 MB / 1.023 GB, free: 8.668 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006624/1.366, allocations: 71.89 kB / 1.023 GB, free: 8.598 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003253/1.369, allocations: 399.4 kB / 1.024 GB, free: 8.207 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006197/1.37, allocations: 226.2 kB / 1.024 GB, free: 7.984 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002999/1.37, allocations: 103.9 kB / 1.024 GB, free: 7.883 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.003051/1.373, allocations: 1.753 MB / 1.026 GB, free: 6.117 MB / 0.795 GB Notification: Performance of sort global known variables: time 3.11e-07/1.373, allocations: 0 / 1.026 GB, free: 6.117 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.004041/1.377, allocations: 1.262 MB / 1.027 GB, free: 4.852 MB / 0.795 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 (273): * Single equations (assignments): 265 * 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.004088/1.381, allocations: 1.121 MB / 1.028 GB, free: 4.156 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.01401/1.395, allocations: 5.334 MB / 1.033 GB, free: 14.78 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/1.395, allocations: 0 / 1.033 GB, free: 14.78 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.00761/1.403, allocations: 3.165 MB / 1.037 GB, free: 11.57 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003827/1.407, allocations: 0.7436 MB / 1.037 GB, free: 10.86 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0198/1.427, allocations: 9.064 MB / 1.046 GB, free: 1.742 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003065/1.43, allocations: 2.184 MB / 1.048 GB, free: 15.52 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.004641/1.434, allocations: 1.141 MB / 1.049 GB, free: 14.38 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001203/1.435, allocations: 271.2 kB / 1.05 GB, free: 14.12 MB / 0.8262 GB Notification: Performance of SimCode: time 1.442e-06/1.435, allocations: 4 kB / 1.05 GB, free: 14.11 MB / 0.8262 GB Notification: Performance of Templates: time 0.5588/1.994, allocations: 59.72 MB / 1.108 GB, free: 281.4 MB / 0.8262 GB " [Timeout remaining time 658] make -j1 -f IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.makefile [Timeout 660] (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 & ./IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 15.722615851089358] Failed to read output from testmodel.py, exit status != 0: 2.003396613523364 2.015022262 0.988924699 Calling exit ...