Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 90] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=8760,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement") translateModel(IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=8760,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001839/0.001839, allocations: 111.2 kB / 17.33 MB, free: 5.043 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001781/0.001781, allocations: 202.6 kB / 18.33 MB, free: 4.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.48/1.48, allocations: 225.6 MB / 244.8 MB, free: 13.59 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8771/0.8771, allocations: 128.4 MB / 426.1 MB, free: 7.156 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001941/0.001941, allocations: 66.98 kB / 0.5911 GB, free: 21.24 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2126/0.2146, allocations: 83.25 MB / 0.6724 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement): time 0.7141/0.9286, allocations: 162.6 MB / 0.8312 GB, free: 1.285 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.04356/0.9722, allocations: 27.07 MB / 0.8577 GB, free: 11.17 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005226/0.9774, allocations: 72 kB / 0.8577 GB, free: 11.14 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.003375/0.9808, allocations: 1.066 MB / 0.8588 GB, free: 10.38 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.007277/0.9881, allocations: 1.821 MB / 0.8606 GB, free: 8.992 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.005491/0.9935, allocations: 1.773 MB / 0.8623 GB, free: 7.578 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.009018/1.003, allocations: 5.301 MB / 0.8675 GB, free: 4.125 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006296/1.009, allocations: 3.405 MB / 0.8708 GB, free: 0.6523 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005593/1.014, allocations: 2.145 MB / 0.8729 GB, free: 14.5 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005089/1.02, allocations: 2.596 MB / 0.8754 GB, free: 11.9 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.001271/1.021, allocations: 460 kB / 0.8759 GB, free: 11.45 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003269/1.024, allocations: 1.066 MB / 0.8769 GB, free: 10.38 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.001313/1.025, allocations: 1.184 MB / 0.8781 GB, free: 9.195 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.003738/1.029, allocations: 2.123 MB / 0.8801 GB, free: 7.062 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.009356/1.038, allocations: 6.006 MB / 0.886 GB, free: 1.035 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/1.038, allocations: 0 / 0.886 GB, free: 1.035 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.903e-06/1.038, allocations: 0 / 0.886 GB, free: 1.035 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0001515/1.039, allocations: 0 / 0.886 GB, free: 1.035 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 816 * Number of variables: 816 Notification: Performance of Generate backend data structure: time 0.01202/1.051, allocations: 4.748 MB / 0.8906 GB, free: 12.19 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.184e-05/1.051, allocations: 8.031 kB / 0.8906 GB, free: 12.18 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01409/1.065, allocations: 2.794 MB / 0.8934 GB, free: 9.379 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00653/1.071, allocations: 2.339 MB / 0.8956 GB, free: 6.965 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003447/1.072, allocations: 246.4 kB / 0.8959 GB, free: 6.723 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001075/1.073, allocations: 308 kB / 0.8962 GB, free: 6.422 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0135/1.086, allocations: 5.166 MB / 0.9012 GB, free: 1.176 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.143e-05/1.086, allocations: 1.125 kB / 0.9012 GB, free: 1.176 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000384/1.087, allocations: 132 kB / 0.9013 GB, free: 1.047 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.468e-05/1.087, allocations: 79.94 kB / 0.9014 GB, free: 0.9688 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01601/1.103, allocations: 6.287 MB / 0.9076 GB, free: 10.66 MB / 0.67 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.03047/1.133, allocations: 14.6 MB / 0.9218 GB, free: 11.5 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01081/1.144, allocations: 4.489 MB / 0.9262 GB, free: 7.016 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00518/1.149, allocations: 2.28 MB / 0.9284 GB, free: 4.723 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009876/1.15, allocations: 0.6697 MB / 0.9291 GB, free: 3.922 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005835/1.156, allocations: 2.624 MB / 0.9316 GB, free: 1.258 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=278): time 3.927e-06/1.156, allocations: 0 / 0.9316 GB, free: 1.258 MB / 0.6856 GB Notification: Performance of matching and sorting (n=278): time 0.01787/1.174, allocations: 7.398 MB / 0.9389 GB, free: 9.738 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001471/1.174, allocations: 214.1 kB / 0.9391 GB, free: 9.484 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003668/1.178, allocations: 2.442 MB / 0.9415 GB, free: 7.016 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0003904/1.178, allocations: 73.7 kB / 0.9415 GB, free: 6.938 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.001342/1.18, allocations: 1.363 MB / 0.9429 GB, free: 5.562 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.001093/1.181, allocations: 0.9528 MB / 0.9438 GB, free: 4.602 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009661/1.182, allocations: 0.5049 MB / 0.9443 GB, free: 4.09 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001379/1.182, allocations: 305.1 kB / 0.9446 GB, free: 3.789 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004675/1.186, allocations: 2.034 MB / 0.9466 GB, free: 1.75 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005108/1.191, allocations: 2.344 MB / 0.9489 GB, free: 15.33 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009666/1.201, allocations: 4.277 MB / 0.953 GB, free: 10.97 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.316e-06/1.201, allocations: 0 / 0.953 GB, free: 10.97 MB / 0.7169 GB Notification: Performance of matching and sorting (n=322) (initialization): time 0.01191/1.213, allocations: 5.006 MB / 0.9579 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.748e-05/1.213, allocations: 4.109 kB / 0.9579 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.684e-05/1.213, allocations: 7.938 kB / 0.9579 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006691/1.214, allocations: 236 kB / 0.9582 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004119/1.218, allocations: 0.8074 MB / 0.9589 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004499/1.222, allocations: 3.381 MB / 0.9622 GB, free: 1.344 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00394/1.226, allocations: 0.5642 MB / 0.9628 GB, free: 0.7773 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003839/1.227, allocations: 115.9 kB / 0.9629 GB, free: 0.6641 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 34 ($PRE.intGai.nextTimeEvent,$whenCondition1,weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,intGai.nextTimeEventScaled,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEvent,HDirTil[2].incAng.decAng.tNext,$PRE.HDirTil[2].incAng.decAng.tNext,HDirTil[1].incAng.decAng.tNext,$PRE.HDirTil[1].incAng.decAng.tNext,HDifTil[2].incAng.decAng.tNext,$PRE.HDifTil[2].incAng.decAng.tNext,HDifTil[1].incAng.decAng.tNext,$PRE.HDifTil[1].incAng.decAng.tNext,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (300): * Single equations (assignments): 299 * 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.002056/1.229, allocations: 0.9462 MB / 0.9638 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007432/1.23, allocations: 286.2 kB / 0.9641 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01349/1.243, allocations: 5.632 MB / 0.9696 GB, free: 9.727 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-05/1.243, allocations: 28 kB / 0.9696 GB, free: 9.699 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.188e-06/1.243, allocations: 4 kB / 0.9696 GB, free: 9.695 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.729e-05/1.243, allocations: 11.95 kB / 0.9696 GB, free: 9.684 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00557/1.249, allocations: 3.707 MB / 0.9733 GB, free: 5.922 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.977e-06/1.249, allocations: 0 / 0.9733 GB, free: 5.922 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003754/1.252, allocations: 0.741 MB / 0.974 GB, free: 5.18 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007966/1.253, allocations: 264.8 kB / 0.9742 GB, free: 4.914 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000257/1.253, allocations: 83.91 kB / 0.9743 GB, free: 4.832 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005589/1.259, allocations: 5.243 MB / 0.9794 GB, free: 15.29 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/1.259, allocations: 0 / 0.9794 GB, free: 15.29 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01767/1.277, allocations: 8.027 MB / 0.9873 GB, free: 7.176 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002001/1.279, allocations: 0.8459 MB / 0.9881 GB, free: 6.309 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005328/1.279, allocations: 71.89 kB / 0.9882 GB, free: 6.238 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002934/1.282, allocations: 415.3 kB / 0.9886 GB, free: 5.832 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00047/1.283, allocations: 202 kB / 0.9888 GB, free: 5.633 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000269/1.283, allocations: 111.9 kB / 0.9889 GB, free: 5.523 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.002596/1.286, allocations: 1.777 MB / 0.9906 GB, free: 3.734 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.3e-07/1.286, allocations: 4 kB / 0.9906 GB, free: 3.73 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.003179/1.289, allocations: 1.076 MB / 0.9917 GB, free: 2.652 MB / 0.7481 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: 21 ($whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDifTil[1].incAng.decAng.tNext,HDifTil[2].incAng.decAng.tNext,HDirTil[1].incAng.decAng.tNext,HDirTil[2].incAng.decAng.tNext,intGai.nextTimeEvent,intGai.nextTimeEventScaled) * Number of discrete states: 11 (intGai.nextTimeEvent,HDirTil[2].incAng.decAng.tNext,HDirTil[1].incAng.decAng.tNext,HDifTil[2].incAng.decAng.tNext,HDifTil[1].incAng.decAng.tNext,weaDat.decAng.tNext,weaDat.eqnTim.tNext,weaDat.conTim.tNext,weaDat.conTimMin.tNext,weaDat.locTim.tNext,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (276): * Single equations (assignments): 262 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 11 * 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.003582/1.292, allocations: 1.055 MB / 0.9927 GB, free: 1.934 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.01093/1.303, allocations: 4.749 MB / 0.9973 GB, free: 13.14 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/1.303, allocations: 0 / 0.9973 GB, free: 13.14 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.005958/1.309, allocations: 2.628 MB / 0.9999 GB, free: 10.48 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003144/1.312, allocations: 0.6978 MB / 1.001 GB, free: 9.816 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01546/1.328, allocations: 8.052 MB / 1.008 GB, free: 1.715 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002324/1.33, allocations: 2.456 MB / 1.011 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.004017/1.334, allocations: 1.151 MB / 1.012 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001162/1.335, allocations: 279.2 kB / 1.012 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of SimCode: time 6.22e-07/1.335, allocations: 7.938 kB / 1.012 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of Templates: time 0.09193/1.427, allocations: 49.84 MB / 1.061 GB, free: 12.22 MB / 0.8262 GB make -j1 -f IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe ; mkfifo IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe >> ../files/IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.sim & ./IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe 2>&1) [Timeout 480]