Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.TestCase6,fileNamePrefix="Buildings_10_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6,fileNamePrefix="Buildings_10_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6",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.001286/0.001286, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001238/0.001238, allocations: 196.2 kB / 16.14 MB, free: 6.711 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.34/1.34, allocations: 222.9 MB / 239.8 MB, free: 4.637 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.487/2.487, allocations: 437 MB / 0.7099 GB, free: 5.355 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 63.91 kB / 0.8686 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5399/0.5411, allocations: 151.6 MB / 1.017 GB, free: 2.789 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6): time 0.1517/0.6928, allocations: 154.8 MB / 1.168 GB, free: 7.441 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.02296/0.7158, allocations: 21.72 MB / 1.189 GB, free: 1.648 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001904/0.7178, allocations: 51.69 kB / 1.189 GB, free: 1.598 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001674/0.7195, allocations: 1.306 MB / 1.19 GB, free: 296 kB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001341/0.7209, allocations: 0.9308 MB / 1.191 GB, free: 15.36 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001137/0.722, allocations: 458.7 kB / 1.192 GB, free: 14.91 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.001294/0.7233, allocations: 1.524 MB / 1.193 GB, free: 13.38 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007611/0.7241, allocations: 0.7075 MB / 1.194 GB, free: 12.66 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005897/0.7247, allocations: 0.5761 MB / 1.194 GB, free: 12.08 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001029/0.7257, allocations: 1.101 MB / 1.196 GB, free: 10.98 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 9.953e-05/0.7259, allocations: 44 kB / 1.196 GB, free: 10.94 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002513/0.7261, allocations: 87.98 kB / 1.196 GB, free: 10.85 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0002892/0.7264, allocations: 356.6 kB / 1.196 GB, free: 10.5 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0004148/0.7268, allocations: 0.5236 MB / 1.197 GB, free: 9.973 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.00102/0.7279, allocations: 1.319 MB / 1.198 GB, free: 8.648 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.7279, allocations: 0 / 1.198 GB, free: 8.648 MB / 0.9512 GB Notification: Performance of FrontEnd: time 7.71e-07/0.7279, allocations: 0 / 1.198 GB, free: 8.648 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.085e-05/0.7279, allocations: 0 / 1.198 GB, free: 8.648 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: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.002335/0.7302, allocations: 1.683 MB / 1.199 GB, free: 6.91 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.897e-05/0.7303, allocations: 8.031 kB / 1.199 GB, free: 6.902 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000102/0.7304, allocations: 90.64 kB / 1.2 GB, free: 6.805 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002304/0.7306, allocations: 159 kB / 1.2 GB, free: 6.648 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008324/0.7315, allocations: 0.7475 MB / 1.2 GB, free: 5.852 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001232/0.7316, allocations: 74.69 kB / 1.201 GB, free: 5.773 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.11e-05/0.7317, allocations: 59.91 kB / 1.201 GB, free: 5.715 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001007/0.7327, allocations: 0.5692 MB / 1.201 GB, free: 5.125 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.972e-05/0.7327, allocations: 3.938 kB / 1.201 GB, free: 5.121 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.883e-05/0.7328, allocations: 20 kB / 1.201 GB, free: 5.102 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.254e-05/0.7328, allocations: 12 kB / 1.201 GB, free: 5.09 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008686/0.7337, allocations: 443.7 kB / 1.202 GB, free: 4.66 MB / 0.9512 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.003471/0.7372, allocations: 3.014 MB / 1.205 GB, free: 1.371 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001049/0.7382, allocations: 0.4889 MB / 1.205 GB, free: 0.875 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005763/0.7388, allocations: 321.4 kB / 1.205 GB, free: 0.5586 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 4.179e-05/0.7389, allocations: 4.375 kB / 1.205 GB, free: 0.5547 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005993/0.7395, allocations: 333.1 kB / 1.206 GB, free: 224 kB / 0.9512 GB Notification: Performance of pre-optimization done (n=52): time 3.216e-06/0.7395, allocations: 11.86 kB / 1.206 GB, free: 212 kB / 0.9512 GB Notification: Performance of matching and sorting (n=52): time 0.003056/0.7426, allocations: 1.344 MB / 1.207 GB, free: 14.81 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.874e-05/0.7426, allocations: 63.84 kB / 1.207 GB, free: 14.73 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001986/0.7446, allocations: 2.112 MB / 1.209 GB, free: 12.61 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 4.456e-05/0.7447, allocations: 41.7 kB / 1.209 GB, free: 12.56 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004568/0.7451, allocations: 0.6206 MB / 1.21 GB, free: 11.94 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001248/0.7453, allocations: 169.6 kB / 1.21 GB, free: 11.77 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001562/0.7454, allocations: 102.3 kB / 1.21 GB, free: 11.66 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001076/0.7455, allocations: 330 kB / 1.21 GB, free: 11.34 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004986/0.746, allocations: 237.2 kB / 1.211 GB, free: 11.11 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005646/0.7466, allocations: 353.8 kB / 1.211 GB, free: 10.72 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000935/0.7476, allocations: 0.5492 MB / 1.211 GB, free: 10.13 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.718e-06/0.7476, allocations: 4 kB / 1.211 GB, free: 10.13 MB / 0.9669 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.00167/0.7493, allocations: 0.9062 MB / 1.212 GB, free: 9.211 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.875e-05/0.7493, allocations: 4 kB / 1.212 GB, free: 9.207 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/0.7493, allocations: 4 kB / 1.212 GB, free: 9.203 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005269/0.7498, allocations: 194 kB / 1.212 GB, free: 9.012 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000376/0.7502, allocations: 107.9 kB / 1.213 GB, free: 8.906 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003295/0.7535, allocations: 2.807 MB / 1.215 GB, free: 5.969 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004399/0.754, allocations: 91.48 kB / 1.215 GB, free: 5.879 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.139e-05/0.754, allocations: 20 kB / 1.215 GB, free: 5.859 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 24 (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) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 56 * 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,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005132/0.7545, allocations: 445.2 kB / 1.216 GB, free: 5.418 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000137/0.7547, allocations: 138.2 kB / 1.216 GB, free: 5.281 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002281/0.7549, allocations: 166 kB / 1.216 GB, free: 5.117 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.7549, allocations: 8 kB / 1.216 GB, free: 5.109 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.14e-05/0.755, allocations: 4 kB / 1.216 GB, free: 5.105 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/0.755, allocations: 3.938 kB / 1.216 GB, free: 5.102 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002567/0.7575, allocations: 1.734 MB / 1.218 GB, free: 3.301 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.7576, allocations: 4 kB / 1.218 GB, free: 3.297 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002343/0.7578, allocations: 51.91 kB / 1.218 GB, free: 3.246 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004726/0.7583, allocations: 201.5 kB / 1.218 GB, free: 3.043 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.871e-05/0.7583, allocations: 11.98 kB / 1.218 GB, free: 3.031 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003973/0.7623, allocations: 4.167 MB / 1.222 GB, free: 14.59 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.7623, allocations: 0 / 1.222 GB, free: 14.59 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001954/0.7643, allocations: 1.173 MB / 1.223 GB, free: 13.39 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000265/0.7646, allocations: 239.2 kB / 1.224 GB, free: 13.14 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001066/0.7647, allocations: 12 kB / 1.224 GB, free: 13.13 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003554/0.765, allocations: 44.19 kB / 1.224 GB, free: 13.09 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001307/0.7652, allocations: 56.3 kB / 1.224 GB, free: 13.03 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.554e-05/0.7652, allocations: 23.98 kB / 1.224 GB, free: 13.01 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.001503/0.7667, allocations: 1.545 MB / 1.225 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7668, allocations: 4 kB / 1.225 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0007928/0.7676, allocations: 231.5 kB / 1.225 GB, free: 11.23 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (thermalZoneTwoElements.extWallRC.thermCapExt[1].T,thermalZoneTwoElements.intWallRC.thermCapInt[1].T,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 (34): * Single equations (assignments): 24 * 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): 2 systems {(2,14,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.003226/0.7708, allocations: 2.092 MB / 1.227 GB, free: 9.297 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001527/0.7723, allocations: 0.7532 MB / 1.228 GB, free: 8.535 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.7723, allocations: 4 kB / 1.228 GB, free: 8.531 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0008868/0.7732, allocations: 0.5743 MB / 1.229 GB, free: 7.926 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001069/0.7743, allocations: 218.2 kB / 1.229 GB, free: 7.719 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01379/0.7881, allocations: 10.89 MB / 1.24 GB, free: 12.4 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007807/0.7889, allocations: 1.246 MB / 1.241 GB, free: 11.12 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0003132/0.7892, allocations: 105 kB / 1.241 GB, free: 11.02 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004765/0.7897, allocations: 475.3 kB / 1.241 GB, free: 10.55 MB / 0.9981 GB Notification: Performance of SimCode: time 4.81e-07/0.7897, allocations: 0 / 1.241 GB, free: 10.55 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4956/1.285, allocations: 22.89 MB / 1.264 GB, free: 231.2 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001597/1.286, allocations: 282 kB / 1.264 GB, free: 230.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.221/3.507, allocations: 0 / 1.264 GB, free: 230.9 MB / 0.9981 GB (rm -f Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe ; mkfifo Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe ; head -c 1048576 < Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe >> ../files/Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6_res.mat --tempDir=temp_Buildings_10_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6_fmu --startTime=0 --stopTime=5.184e+06 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6.fmu > Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe 2>&1)