Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.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/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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: "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7,fileNamePrefix="Buildings_10_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7,fileNamePrefix="Buildings_10_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase7",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001113/0.001113, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001118/0.001118, allocations: 195.5 kB / 16.53 MB, free: 6.664 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.291/1.291, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.504/2.504, allocations: 437 MB / 0.7104 GB, free: 5.094 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001255, allocations: 67.91 kB / 0.8694 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5092/0.5104, allocations: 151.6 MB / 1.017 GB, free: 2.488 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7): time 0.1513/0.6618, allocations: 157.9 MB / 1.172 GB, free: 3.996 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.02415/0.6859, allocations: 22.13 MB / 1.193 GB, free: 13.79 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001744/0.6877, allocations: 63.69 kB / 1.193 GB, free: 13.73 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001784/0.6895, allocations: 1.379 MB / 1.195 GB, free: 12.34 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.001646/0.6912, allocations: 1.012 MB / 1.196 GB, free: 11.33 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001506/0.6927, allocations: 0.6538 MB / 1.196 GB, free: 10.68 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.001723/0.6945, allocations: 1.681 MB / 1.198 GB, free: 8.996 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001197/0.6957, allocations: 0.9706 MB / 1.199 GB, free: 8.004 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009194/0.6966, allocations: 0.7242 MB / 1.2 GB, free: 7.277 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001244/0.6979, allocations: 1.195 MB / 1.201 GB, free: 6.082 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001809/0.6981, allocations: 92 kB / 1.201 GB, free: 5.992 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003304/0.6984, allocations: 148 kB / 1.201 GB, free: 5.848 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0003258/0.6987, allocations: 416.3 kB / 1.201 GB, free: 5.438 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0005781/0.6993, allocations: 0.6557 MB / 1.202 GB, free: 4.777 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.00133/0.7006, allocations: 1.565 MB / 1.203 GB, free: 3.207 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.7007, allocations: 0 / 1.203 GB, free: 3.207 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.162e-06/0.7007, allocations: 0 / 1.203 GB, free: 3.207 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 3.375e-05/0.7007, allocations: 0 / 1.203 GB, free: 3.207 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 157 * Number of variables: 157 Notification: Performance of Generate backend data structure: time 0.002977/0.7037, allocations: 1.922 MB / 1.205 GB, free: 1.227 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.738e-05/0.7037, allocations: 8.031 kB / 1.205 GB, free: 1.219 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001317/0.7039, allocations: 110.7 kB / 1.205 GB, free: 1.102 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003042/0.7042, allocations: 182.7 kB / 1.206 GB, free: 0.9219 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001134/0.7053, allocations: 0.867 MB / 1.207 GB, free: 4 kB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001479/0.7055, allocations: 91 kB / 1.207 GB, free: 15.91 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.746e-05/0.7056, allocations: 75.84 kB / 1.207 GB, free: 15.84 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001217/0.7068, allocations: 0.7215 MB / 1.207 GB, free: 15.09 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.962e-05/0.7068, allocations: 0 / 1.207 GB, free: 15.09 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.125e-05/0.7069, allocations: 24 kB / 1.207 GB, free: 15.06 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.204e-05/0.7069, allocations: 16 kB / 1.207 GB, free: 15.05 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001142/0.7081, allocations: 0.5399 MB / 1.208 GB, free: 14.51 MB / 0.9669 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.004242/0.7123, allocations: 3.636 MB / 1.211 GB, free: 10.59 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001288/0.7136, allocations: 0.6004 MB / 1.212 GB, free: 9.98 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006853/0.7143, allocations: 375.7 kB / 1.212 GB, free: 9.613 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 4.698e-05/0.7144, allocations: 12.55 kB / 1.212 GB, free: 9.598 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006787/0.7151, allocations: 379 kB / 1.213 GB, free: 9.215 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=65): time 2.304e-06/0.7151, allocations: 0 / 1.213 GB, free: 9.215 MB / 0.9669 GB Notification: Performance of matching and sorting (n=65): time 0.004891/0.72, allocations: 1.784 MB / 1.215 GB, free: 7.379 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.067e-05/0.72, allocations: 63.91 kB / 1.215 GB, free: 7.305 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002161/0.7222, allocations: 2.251 MB / 1.217 GB, free: 5.047 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 5.365e-05/0.7223, allocations: 41.7 kB / 1.217 GB, free: 5 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.000556/0.7228, allocations: 0.7148 MB / 1.218 GB, free: 4.277 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001677/0.723, allocations: 217 kB / 1.218 GB, free: 4.062 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001958/0.7232, allocations: 130.6 kB / 1.218 GB, free: 3.926 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001128/0.7233, allocations: 334 kB / 1.218 GB, free: 3.594 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006173/0.724, allocations: 277.8 kB / 1.218 GB, free: 3.324 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007151/0.7247, allocations: 426.8 kB / 1.219 GB, free: 2.859 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001186/0.7259, allocations: 0.6571 MB / 1.22 GB, free: 2.152 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.7259, allocations: 4 kB / 1.22 GB, free: 2.148 MB / 0.9669 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.002279/0.7282, allocations: 1.116 MB / 1.221 GB, free: 1.02 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.7282, allocations: 8.031 kB / 1.221 GB, free: 1.012 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.255e-06/0.7282, allocations: 4 kB / 1.221 GB, free: 1.008 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007995/0.729, allocations: 278.2 kB / 1.221 GB, free: 0.7344 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004257/0.7295, allocations: 119.8 kB / 1.221 GB, free: 0.6172 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005213/0.7347, allocations: 3.709 MB / 1.225 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005059/0.7352, allocations: 91.3 kB / 1.225 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.768e-05/0.7353, allocations: 24 kB / 1.225 GB, free: 12.67 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 25 (assEqu.nFai,$PRE.assEqu.nFai,$whenCondition6,$PRE.intGai.nextTimeEvent,$whenCondition5,$PRE.reference.nextTimeEvent,$whenCondition4,$PRE.setTemp.nextTimeEvent,$whenCondition3,$whenCondition1,mean.y_last,$PRE.mean.y_last,assEqu.satisfied,$PRE.assEqu.satisfied,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,reference.nextTimeEvent,$whenCondition2,setTemp.nextTimeEventScaled,$PRE.setTemp.nextTimeEventScaled,setTemp.nextTimeEvent,intGai.nextTimeEventScaled,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEvent,conHeaCoo.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,25)} Notification: Performance of prepare postOptimizeDAE: time 0.0005292/0.7358, allocations: 463.8 kB / 1.225 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001777/0.736, allocations: 154 kB / 1.225 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002967/0.7363, allocations: 195.6 kB / 1.226 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.71e-06/0.7363, allocations: 7.938 kB / 1.226 GB, free: 11.85 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.067e-06/0.7363, allocations: 7.938 kB / 1.226 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.107e-06/0.7363, allocations: 3.984 kB / 1.226 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003276/0.7396, allocations: 2.041 MB / 1.228 GB, free: 9.73 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.826e-06/0.7396, allocations: 0 / 1.228 GB, free: 9.73 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002689/0.7399, allocations: 51.97 kB / 1.228 GB, free: 9.68 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007544/0.7407, allocations: 291.1 kB / 1.228 GB, free: 9.391 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.675e-05/0.7407, allocations: 19.98 kB / 1.228 GB, free: 9.371 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005615/0.7464, allocations: 5.235 MB / 1.233 GB, free: 3.859 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.7464, allocations: 0 / 1.233 GB, free: 3.859 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002506/0.7489, allocations: 1.393 MB / 1.234 GB, free: 2.445 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002982/0.7492, allocations: 270.9 kB / 1.235 GB, free: 2.16 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001267/0.7493, allocations: 16 kB / 1.235 GB, free: 2.145 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004103/0.7498, allocations: 35.95 kB / 1.235 GB, free: 2.109 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000143/0.7499, allocations: 68.47 kB / 1.235 GB, free: 2.043 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.852e-05/0.75, allocations: 23.98 kB / 1.235 GB, free: 2.02 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.001573/0.7515, allocations: 1.627 MB / 1.236 GB, free: 408 kB / 0.9825 GB Notification: Performance of sort global known variables: time 2.41e-07/0.7516, allocations: 4 kB / 1.236 GB, free: 404 kB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0007989/0.7524, allocations: 275.5 kB / 1.237 GB, free: 128 kB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (thermalZoneTwoElements.extWallRC.thermCapExt[1].T,thermalZoneTwoElements.intWallRC.thermCapInt[1].T,conHeaCoo.I.y,assEqu.diff,mean.x) * Number of discrete variables: 15 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,setTemp.nextTimeEvent,setTemp.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 9 (intGai.nextTimeEvent,reference.nextTimeEvent,setTemp.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,setTemp.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,22)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003721/0.7561, allocations: 2.339 MB / 1.239 GB, free: 13.94 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001946/0.758, allocations: 0.9498 MB / 1.24 GB, free: 12.98 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.7581, allocations: 0 / 1.24 GB, free: 12.98 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001055/0.7591, allocations: 0.6831 MB / 1.24 GB, free: 12.27 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001206/0.7603, allocations: 277.1 kB / 1.241 GB, free: 12.01 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3904/1.151, allocations: 12.03 MB / 1.252 GB, free: 230.8 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008967/1.152, allocations: 1.318 MB / 1.254 GB, free: 230.1 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0004767/1.152, allocations: 121.4 kB / 1.254 GB, free: 230.1 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004688/1.153, allocations: 0.5402 MB / 1.254 GB, free: 230.1 MB / 0.9981 GB Notification: Performance of SimCode: time 7.81e-07/1.153, allocations: 0.6562 kB / 1.254 GB, free: 230.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05163/1.204, allocations: 28.68 MB / 1.282 GB, free: 219.5 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.37/12.57, allocations: 7.812 kB / 1.282 GB, free: 219.5 MB / 0.9981 GB (rm -f Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.pipe ; mkfifo Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.pipe ; head -c 1048576 < Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.pipe >> ../files/Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7_res.csv --start-time 0 --stop-time 5.184e+06 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 60 Buildings_10_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase7.fmu > Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.pipe 2>&1)