Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) 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.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(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance") translateModel(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001378/0.001378, allocations: 105.2 kB / 16.37 MB, free: 6.426 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.001411/0.001411, allocations: 197.3 kB / 17.31 MB, free: 5.801 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.365/1.365, allocations: 222.9 MB / 241 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8299/0.8299, allocations: 132.2 MB / 423.4 MB, free: 6.641 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001409/0.00141, allocations: 55.91 kB / 0.5032 GB, free: 10.98 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4034/0.4049, allocations: 80.18 MB / 0.5815 GB, free: 27.63 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance): time 0.6007/1.006, allocations: 202.1 MB / 0.7788 GB, free: 1.656 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02492/1.031, allocations: 15.12 MB / 0.7936 GB, free: 1.418 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006569/1.037, allocations: 96.16 kB / 0.7937 GB, free: 1.418 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003666/1.041, allocations: 1.303 MB / 0.795 GB, free: 1.402 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.009795/1.051, allocations: 2.645 MB / 0.7976 GB, free: 1.316 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.006802/1.058, allocations: 2.186 MB / 0.7997 GB, free: 1.273 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01116/1.069, allocations: 6.701 MB / 0.8062 GB, free: 1.25 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00867/1.077, allocations: 5.526 MB / 0.8116 GB, free: 16.54 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006415/1.084, allocations: 2.618 MB / 0.8142 GB, free: 16.32 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007211/1.091, allocations: 3.109 MB / 0.8172 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.003085/1.094, allocations: 0.5696 MB / 0.8178 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006866/1.101, allocations: 1.94 MB / 0.8197 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.003487/1.105, allocations: 1.611 MB / 0.8213 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.007126/1.112, allocations: 2.66 MB / 0.8239 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.01483/1.127, allocations: 7.743 MB / 0.8314 GB, free: 7.809 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/1.127, allocations: 0 / 0.8314 GB, free: 7.809 MB / 0.5919 GB Notification: Performance of FrontEnd: time 3.487e-06/1.127, allocations: 5.141 kB / 0.8314 GB, free: 7.805 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0003868/1.127, allocations: 0 / 0.8314 GB, free: 7.805 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1053 * Number of variables: 1053 Notification: Performance of Generate backend data structure: time 0.0173/1.144, allocations: 5.628 MB / 0.8369 GB, free: 4.043 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.028e-05/1.145, allocations: 8.375 kB / 0.8369 GB, free: 4.043 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01557/1.16, allocations: 2.999 MB / 0.8398 GB, free: 1.145 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008322/1.168, allocations: 2.738 MB / 0.8425 GB, free: 14.48 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003447/1.169, allocations: 316.2 kB / 0.8428 GB, free: 14.17 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002019/1.171, allocations: 408 kB / 0.8432 GB, free: 13.77 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01691/1.188, allocations: 6.216 MB / 0.8493 GB, free: 7.457 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.772e-05/1.188, allocations: 3.938 kB / 0.8493 GB, free: 7.453 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004972/1.188, allocations: 176 kB / 0.8495 GB, free: 7.281 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001312/1.189, allocations: 144 kB / 0.8496 GB, free: 7.137 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0183/1.207, allocations: 7.336 MB / 0.8568 GB, free: 15.79 MB / 0.6231 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.03996/1.247, allocations: 18.74 MB / 0.8751 GB, free: 12.66 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01051/1.257, allocations: 4.812 MB / 0.8798 GB, free: 7.852 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007339/1.265, allocations: 3.164 MB / 0.8828 GB, free: 4.68 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001393/1.266, allocations: 0.6974 MB / 0.8835 GB, free: 3.871 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007366/1.274, allocations: 2.931 MB / 0.8864 GB, free: 0.9102 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=345): time 6.151e-06/1.274, allocations: 0 / 0.8864 GB, free: 0.9102 MB / 0.6387 GB Notification: Performance of matching and sorting (n=347): time 0.04082/1.314, allocations: 16.25 MB / 0.9023 GB, free: 0.5117 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000144/1.315, allocations: 214.7 kB / 0.9025 GB, free: 264 kB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004112/1.319, allocations: 2.903 MB / 0.9053 GB, free: 13.34 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.001023/1.32, allocations: 89.7 kB / 0.9054 GB, free: 13.24 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.001591/1.321, allocations: 1.676 MB / 0.907 GB, free: 11.55 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.001528/1.323, allocations: 1.154 MB / 0.9081 GB, free: 10.41 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001167/1.324, allocations: 0.5846 MB / 0.9087 GB, free: 9.816 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001001/1.324, allocations: 303.8 kB / 0.909 GB, free: 9.52 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005172/1.329, allocations: 2.336 MB / 0.9113 GB, free: 7.18 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005498/1.335, allocations: 2.693 MB / 0.9139 GB, free: 4.422 MB / 0.67 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: thermalZoneFourElements.volAir.dynBal.medium.p = thermalZoneFourElements.volAir.dynBal.p_start (sinAir.p = thermalZoneFourElements.volAir.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.3799/1.715, allocations: 86.69 MB / 0.9986 GB, free: 13.55 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.617e-06/1.715, allocations: 3.938 kB / 0.9986 GB, free: 13.55 MB / 0.7637 GB Notification: Performance of matching and sorting (n=386) (initialization): time 0.01527/1.73, allocations: 6.203 MB / 1.005 GB, free: 7.348 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 5.226e-05/1.73, allocations: 37.7 kB / 1.005 GB, free: 7.305 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.639e-05/1.73, allocations: 4 kB / 1.005 GB, free: 7.301 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001791/1.732, allocations: 0.8239 MB / 1.005 GB, free: 6.473 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004636/1.737, allocations: 0.8674 MB / 1.006 GB, free: 5.637 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01084/1.748, allocations: 7.491 MB / 1.014 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004518/1.752, allocations: 447.2 kB / 1.014 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005423/1.753, allocations: 131.9 kB / 1.014 GB, free: 13.46 MB / 0.7794 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: thermalZoneFourElements.volAir.dynBal.medium.p = thermalZoneFourElements.volAir.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 18 ($PRE.intGai.nextTimeEvent,$whenCondition2,weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,$PRE.traSub.count,$PRE.traSub.T_start,traSub.count,traSub.T_start,intGai.nextTimeEventScaled,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEvent,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition3,$whenCondition4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (321): * Single equations (assignments): 319 * Array equations: 0 * Algorithm blocks: 1 * 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.002336/1.755, allocations: 1.131 MB / 1.015 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007429/1.756, allocations: 343.8 kB / 1.016 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01503/1.771, allocations: 6.765 MB / 1.022 GB, free: 5.227 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.98e-05/1.771, allocations: 36 kB / 1.022 GB, free: 5.191 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.542e-05/1.771, allocations: 11.94 kB / 1.022 GB, free: 5.18 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01298/1.784, allocations: 5.919 MB / 1.028 GB, free: 15.17 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02402/1.808, allocations: 11.72 MB / 1.04 GB, free: 3.41 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.648e-05/1.808, allocations: 4 kB / 1.04 GB, free: 3.406 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004449/1.812, allocations: 0.8519 MB / 1.04 GB, free: 2.586 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001662/1.814, allocations: 0.6942 MB / 1.041 GB, free: 1.883 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004528/1.815, allocations: 103.9 kB / 1.041 GB, free: 1.781 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2987/2.113, allocations: 10.04 MB / 1.051 GB, free: 366.8 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.478e-06/2.113, allocations: 4.25 kB / 1.051 GB, free: 366.8 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0199/2.133, allocations: 9.812 MB / 1.061 GB, free: 363.4 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002377/2.136, allocations: 0.9124 MB / 1.061 GB, free: 363.1 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006344/2.136, allocations: 86.31 kB / 1.061 GB, free: 363.1 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003242/2.14, allocations: 427.2 kB / 1.062 GB, free: 363 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006111/2.14, allocations: 253.7 kB / 1.062 GB, free: 363 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002957/2.14, allocations: 122 kB / 1.062 GB, free: 362.9 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.002502/2.143, allocations: 2.105 MB / 1.064 GB, free: 362.2 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.9e-07/2.143, allocations: 1.531 kB / 1.064 GB, free: 362.2 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.002862/2.146, allocations: 1.099 MB / 1.065 GB, free: 362.1 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 7 (thermalZoneFourElements.volAir.dynBal.U,thermalZoneFourElements.volAir.dynBal.mXi[1],thermalZoneFourElements.volAir.dynBal.mC[1],thermalZoneFourElements.extWallRC.thermCapExt[1].T,thermalZoneFourElements.intWallRC.thermCapInt[1].T,thermalZoneFourElements.floorRC.thermCapExt[1].T,thermalZoneFourElements.roofRC.thermCapExt[1].T) * Number of discrete variables: 10 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext,intGai.nextTimeEvent,intGai.nextTimeEventScaled,traSub.T_start,traSub.count) * Number of discrete states: 5 (intGai.nextTimeEvent,traSub.count,intGai.nextTimeEventScaled,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (304): * Single equations (assignments): 295 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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): 3 systems {(5,49,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002379/2.148, allocations: 1.061 MB / 1.066 GB, free: 361.9 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.01097/2.159, allocations: 5.931 MB / 1.072 GB, free: 359.6 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 8.666e-06/2.159, allocations: 0 / 1.072 GB, free: 359.6 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.005886/2.165, allocations: 3.554 MB / 1.076 GB, free: 356.6 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004083/2.169, allocations: 1.027 MB / 1.077 GB, free: 355.7 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01439/2.184, allocations: 9.851 MB / 1.086 GB, free: 346.1 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00206/2.186, allocations: 2.924 MB / 1.089 GB, free: 343.2 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.003989/2.19, allocations: 1.272 MB / 1.09 GB, free: 342 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001188/2.191, allocations: 305.6 kB / 1.091 GB, free: 341.7 MB / 0.795 GB Notification: Performance of SimCode: time 1.152e-06/2.191, allocations: 0 / 1.091 GB, free: 341.7 MB / 0.795 GB Notification: Performance of Templates: time 0.08378/2.275, allocations: 62.89 MB / 1.152 GB, free: 279.5 MB / 0.795 GB make -j1 -f IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance.makefile (rm -f IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance.pipe ; mkfifo IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance.pipe ; head -c 1048576 < IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance.pipe >> ../files/IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance.sim & ./IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance.pipe 2>&1)