Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.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/IBPSA 4.0.0-master/package.mo", uses=false) 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.SimpleRoomFourElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements") translateModel(IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009561/0.000956, allocations: 88.27 kB / 16.66 MB, free: 6.25 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.0009241/0.0009243, allocations: 176.6 kB / 17.57 MB, free: 5.859 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.336/1.336, allocations: 223.3 MB / 241.6 MB, free: 14.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7245/0.7245, allocations: 115.5 MB / 408.2 MB, free: 7.031 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003248/0.0003248, allocations: 8 kB / 496.5 MB, free: 15.71 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4186/0.419, allocations: 77.52 MB / 0.5606 GB, free: 35.53 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements): time 0.1716/0.5906, allocations: 160.2 MB / 0.7171 GB, free: 2.652 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.03888/0.6295, allocations: 27.31 MB / 0.7437 GB, free: 7.262 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004545/0.6341, allocations: 75.62 kB / 0.7438 GB, free: 7.188 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003345/0.6375, allocations: 1.05 MB / 0.7448 GB, free: 6.133 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.007161/0.6447, allocations: 1.871 MB / 0.7467 GB, free: 4.258 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005448/0.6501, allocations: 1.842 MB / 0.7485 GB, free: 2.43 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.3602/1.01, allocations: 6.842 MB / 0.7551 GB, free: 4.254 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007184/1.018, allocations: 3.977 MB / 0.759 GB, free: 3.602 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004553/1.022, allocations: 1.729 MB / 0.7607 GB, free: 3.598 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005453/1.028, allocations: 2.393 MB / 0.763 GB, free: 3.586 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.001103/1.029, allocations: 149.5 kB / 0.7632 GB, free: 3.586 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002982/1.032, allocations: 0.7475 MB / 0.7639 GB, free: 3.586 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001339/1.033, allocations: 0.9184 MB / 0.7648 GB, free: 3.586 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.003956/1.037, allocations: 2.037 MB / 0.7668 GB, free: 3.242 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00674/1.044, allocations: 5.467 MB / 0.7721 GB, free: 2.938 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/1.044, allocations: 0 / 0.7721 GB, free: 2.938 MB / 0.5762 GB Notification: Performance of FrontEnd: time 3.958e-06/1.044, allocations: 1 kB / 0.7721 GB, free: 2.938 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0002783/1.044, allocations: 0 / 0.7721 GB, free: 2.938 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 989 * Number of variables: 989 Notification: Performance of Generate backend data structure: time 0.01256/1.057, allocations: 4.641 MB / 0.7767 GB, free: 0.8594 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.794e-05/1.057, allocations: 13.34 kB / 0.7767 GB, free: 0.8555 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01462/1.071, allocations: 2.976 MB / 0.7796 GB, free: 0.543 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006015/1.078, allocations: 2.628 MB / 0.7822 GB, free: 15.87 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002234/1.078, allocations: 292.7 kB / 0.7824 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001271/1.079, allocations: 374.2 kB / 0.7828 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01492/1.094, allocations: 5.979 MB / 0.7886 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001041/1.094, allocations: 4.812 kB / 0.7886 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006068/1.095, allocations: 156.5 kB / 0.7888 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-05/1.095, allocations: 95.78 kB / 0.7889 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0171/1.112, allocations: 7.134 MB / 0.7958 GB, free: 13.33 MB / 0.5919 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.03572/1.148, allocations: 18.71 MB / 0.8141 GB, free: 3.73 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01019/1.158, allocations: 4.814 MB / 0.8188 GB, free: 2.789 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006437/1.164, allocations: 3.075 MB / 0.8218 GB, free: 1.57 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001044/1.165, allocations: 0.6764 MB / 0.8225 GB, free: 0.793 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007086/1.173, allocations: 2.986 MB / 0.8254 GB, free: 14.52 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=336): time 5.751e-06/1.173, allocations: 0 / 0.8254 GB, free: 14.52 MB / 0.6075 GB Notification: Performance of matching and sorting (n=336): time 0.0277/1.2, allocations: 10.23 MB / 0.8354 GB, free: 6.402 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001385/1.2, allocations: 225.6 kB / 0.8356 GB, free: 6.141 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004062/1.205, allocations: 2.783 MB / 0.8383 GB, free: 4.047 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0007223/1.205, allocations: 93.66 kB / 0.8384 GB, free: 3.996 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.001377/1.207, allocations: 1.587 MB / 0.84 GB, free: 2.727 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.001408/1.208, allocations: 1.105 MB / 0.841 GB, free: 1.633 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004362/1.209, allocations: 243.9 kB / 0.8413 GB, free: 1.387 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.583e-05/1.209, allocations: 301.1 kB / 0.8416 GB, free: 1.09 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005452/1.214, allocations: 2.328 MB / 0.8438 GB, free: 14.76 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006007/1.22, allocations: 2.679 MB / 0.8465 GB, free: 12 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01162/1.232, allocations: 4.93 MB / 0.8513 GB, free: 7.008 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.505e-05/1.232, allocations: 4 kB / 0.8513 GB, free: 7.004 MB / 0.6231 GB Notification: Performance of matching and sorting (n=383) (initialization): time 0.01499/1.247, allocations: 6.113 MB / 0.8572 GB, free: 0.9062 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 3.332e-05/1.247, allocations: 8 kB / 0.8572 GB, free: 0.8984 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.737e-05/1.247, allocations: 4 kB / 0.8573 GB, free: 0.8945 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001856/1.249, allocations: 0.8279 MB / 0.8581 GB, free: 64 kB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004719/1.253, allocations: 0.8508 MB / 0.8589 GB, free: 15.24 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01017/1.264, allocations: 7.028 MB / 0.8658 GB, free: 8.098 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005482/1.269, allocations: 0.6529 MB / 0.8664 GB, free: 7.441 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007821/1.27, allocations: 127.9 kB / 0.8665 GB, free: 7.316 MB / 0.6387 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 (319): * Single equations (assignments): 318 * 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.003237/1.273, allocations: 1.084 MB / 0.8676 GB, free: 6.254 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001012/1.274, allocations: 324 kB / 0.8679 GB, free: 5.934 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01611/1.29, allocations: 6.761 MB / 0.8745 GB, free: 15.14 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.287e-05/1.29, allocations: 35.98 kB / 0.8745 GB, free: 15.11 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.747e-05/1.29, allocations: 12 kB / 0.8745 GB, free: 15.1 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-05/1.291, allocations: 15.94 kB / 0.8745 GB, free: 15.08 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00745/1.298, allocations: 4.401 MB / 0.8788 GB, free: 10.7 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.488e-05/1.298, allocations: 0 / 0.8788 GB, free: 10.7 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00443/1.302, allocations: 0.7932 MB / 0.8796 GB, free: 9.93 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002078/1.305, allocations: 0.7419 MB / 0.8803 GB, free: 9.176 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007414/1.305, allocations: 87.92 kB / 0.8804 GB, free: 9.09 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01145/1.317, allocations: 9.799 MB / 0.89 GB, free: 14.9 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.938e-06/1.317, allocations: 3.938 kB / 0.89 GB, free: 14.89 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02218/1.339, allocations: 9.596 MB / 0.8994 GB, free: 5.25 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002857/1.342, allocations: 0.9996 MB / 0.9003 GB, free: 4.227 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007578/1.343, allocations: 71.98 kB / 0.9004 GB, free: 4.156 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003799/1.347, allocations: 492 kB / 0.9009 GB, free: 3.676 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005948/1.347, allocations: 249.3 kB / 0.9011 GB, free: 3.434 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002954/1.347, allocations: 124.1 kB / 0.9012 GB, free: 3.312 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.003219/1.351, allocations: 2.017 MB / 0.9032 GB, free: 1.293 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.9e-07/1.351, allocations: 0 / 0.9032 GB, free: 1.293 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.004533/1.355, allocations: 1.333 MB / 0.9045 GB, free: 15.95 MB / 0.6856 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: 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.nextTimeEventScaled,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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (295): * Single equations (assignments): 280 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 11 * 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.002773/1.358, allocations: 1.061 MB / 0.9055 GB, free: 15.34 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.01347/1.371, allocations: 5.838 MB / 0.9112 GB, free: 9.508 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 7.754e-06/1.372, allocations: 4 kB / 0.9113 GB, free: 9.504 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.007575/1.379, allocations: 3.494 MB / 0.9147 GB, free: 6.027 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004852/1.384, allocations: 0.7787 MB / 0.9154 GB, free: 5.266 MB / 0.6856 GB Warning: The hideResult annotation could not be evaluated, probably due to missing annotation(Evaluate=true). It is removed. Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02102/1.405, allocations: 11.28 MB / 0.9264 GB, free: 9.941 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002521/1.408, allocations: 2.71 MB / 0.9291 GB, free: 7.207 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002385/1.41, allocations: 343.2 kB / 0.9294 GB, free: 6.871 MB / 0.7012 GB Notification: Performance of SimCode: time 1.242e-06/1.41, allocations: 0 / 0.9294 GB, free: 6.871 MB / 0.7012 GB Notification: Performance of Templates: time 0.4164/1.826, allocations: 107.2 MB / 1.034 GB, free: 370.9 MB / 0.795 GB make -j1 -f IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.makefile (rm -f IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe ; mkfifo IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe >> ../files/IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.sim & ./IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe 2>&1)