Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.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.TestCase2,fileNamePrefix="Buildings_10_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2,fileNamePrefix="Buildings_10_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2",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.001215/0.001214, allocations: 111.3 kB / 15.34 MB, free: 0.5078 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.00127/0.001269, allocations: 192.8 kB / 16.25 MB, free: 6.629 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.33/1.33, allocations: 222.9 MB / 239.9 MB, free: 4.531 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.48/2.48, allocations: 437 MB / 0.7101 GB, free: 5.246 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001364/0.001364, allocations: 67.89 kB / 0.8689 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5515/0.5529, allocations: 151.6 MB / 1.017 GB, free: 2.668 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2): time 0.1387/0.6916, allocations: 154.6 MB / 1.168 GB, free: 7.48 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.02053/0.7122, allocations: 21.49 MB / 1.189 GB, free: 1.918 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001347/0.7136, allocations: 47.75 kB / 1.189 GB, free: 1.871 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001915/0.7155, allocations: 1.13 MB / 1.19 GB, free: 0.7383 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001911/0.7175, allocations: 0.8177 MB / 1.191 GB, free: 15.92 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001383/0.7189, allocations: 379 kB / 1.191 GB, free: 15.55 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.001941/0.7208, allocations: 1.259 MB / 1.192 GB, free: 14.29 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001263/0.7221, allocations: 0.6891 MB / 1.193 GB, free: 13.59 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001059/0.7232, allocations: 0.5568 MB / 1.194 GB, free: 13.04 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001268/0.7245, allocations: 0.9567 MB / 1.195 GB, free: 12.08 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001824/0.7247, allocations: 67.94 kB / 1.195 GB, free: 12.01 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003337/0.725, allocations: 108 kB / 1.195 GB, free: 11.91 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.000291/0.7253, allocations: 332.8 kB / 1.195 GB, free: 11.58 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0004879/0.7258, allocations: 492.8 kB / 1.196 GB, free: 11.1 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001067/0.7269, allocations: 1.176 MB / 1.197 GB, free: 9.918 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.656e-06/0.7269, allocations: 0 / 1.197 GB, free: 9.918 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.653e-06/0.7269, allocations: 4 kB / 1.197 GB, free: 9.914 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 2.941e-05/0.7269, allocations: 0 / 1.197 GB, free: 9.914 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: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.002221/0.7292, allocations: 1.482 MB / 1.198 GB, free: 8.379 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/0.7292, allocations: 16.02 kB / 1.198 GB, free: 8.363 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.796e-05/0.7293, allocations: 78.72 kB / 1.198 GB, free: 8.277 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000181/0.7295, allocations: 131.3 kB / 1.198 GB, free: 8.148 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007928/0.7303, allocations: 0.6587 MB / 1.199 GB, free: 7.438 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000121/0.7304, allocations: 82.69 kB / 1.199 GB, free: 7.352 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.819e-05/0.7305, allocations: 44 kB / 1.199 GB, free: 7.309 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009045/0.7314, allocations: 0.5184 MB / 1.2 GB, free: 6.77 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.923e-05/0.7315, allocations: 0 / 1.2 GB, free: 6.77 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.67e-05/0.7315, allocations: 23.98 kB / 1.2 GB, free: 6.746 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.117e-05/0.7315, allocations: 16 kB / 1.2 GB, free: 6.73 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007841/0.7323, allocations: 403.7 kB / 1.2 GB, free: 6.34 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.003289/0.7356, allocations: 2.803 MB / 1.203 GB, free: 3.285 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000946/0.7366, allocations: 463.7 kB / 1.203 GB, free: 2.824 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005017/0.7371, allocations: 286.9 kB / 1.204 GB, free: 2.543 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 3.714e-05/0.7371, allocations: 4.656 kB / 1.204 GB, free: 2.539 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005226/0.7377, allocations: 309.7 kB / 1.204 GB, free: 2.227 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=45): time 2.494e-06/0.7377, allocations: 0 / 1.204 GB, free: 2.227 MB / 0.9512 GB Notification: Performance of matching and sorting (n=45): time 0.002766/0.7404, allocations: 1.237 MB / 1.205 GB, free: 0.9375 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.172e-05/0.7405, allocations: 59.41 kB / 1.205 GB, free: 0.8672 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001635/0.7421, allocations: 1.748 MB / 1.207 GB, free: 15.11 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 4.537e-05/0.7422, allocations: 41.69 kB / 1.207 GB, free: 15.06 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003578/0.7426, allocations: 0.5178 MB / 1.207 GB, free: 14.54 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001197/0.7427, allocations: 153.9 kB / 1.207 GB, free: 14.39 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001428/0.7428, allocations: 98.25 kB / 1.208 GB, free: 14.29 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 9.428e-05/0.7429, allocations: 326 kB / 1.208 GB, free: 13.96 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004481/0.7434, allocations: 213 kB / 1.208 GB, free: 13.76 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005014/0.7439, allocations: 328.9 kB / 1.208 GB, free: 13.4 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008287/0.7447, allocations: 0.5097 MB / 1.209 GB, free: 12.85 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.23e-06/0.7448, allocations: 3.938 kB / 1.209 GB, free: 12.85 MB / 0.9669 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001499/0.7463, allocations: 0.8466 MB / 1.21 GB, free: 11.99 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/0.7463, allocations: 4 kB / 1.21 GB, free: 11.99 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.015e-05/0.7463, allocations: 4 kB / 1.21 GB, free: 11.98 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004929/0.7468, allocations: 195 kB / 1.21 GB, free: 11.79 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003333/0.7472, allocations: 95.88 kB / 1.21 GB, free: 11.7 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003223/0.7504, allocations: 2.996 MB / 1.213 GB, free: 8.566 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004149/0.7508, allocations: 79.55 kB / 1.213 GB, free: 8.488 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.946e-05/0.7509, allocations: 20 kB / 1.213 GB, free: 8.469 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: 19 (assEqu.nFai,$PRE.assEqu.nFai,$whenCondition5,$PRE.intGai.nextTimeEvent,$whenCondition4,$PRE.reference.nextTimeEvent,$whenCondition3,$whenCondition1,mean.y_last,$PRE.mean.y_last,assEqu.satisfied,$PRE.assEqu.satisfied,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,reference.nextTimeEvent,$whenCondition2,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 (50): * Single equations (assignments): 49 * 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,16,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003982/0.7513, allocations: 383.8 kB / 1.213 GB, free: 8.086 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001214/0.7514, allocations: 114.5 kB / 1.213 GB, free: 7.973 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00019/0.7516, allocations: 147.6 kB / 1.214 GB, free: 7.828 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-06/0.7516, allocations: 4 kB / 1.214 GB, free: 7.824 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.562e-05/0.7516, allocations: 11.98 kB / 1.214 GB, free: 7.812 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.586e-06/0.7516, allocations: 7.922 kB / 1.214 GB, free: 7.805 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002242/0.7539, allocations: 1.563 MB / 1.215 GB, free: 6.184 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.7539, allocations: 7.938 kB / 1.215 GB, free: 6.176 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002162/0.7541, allocations: 39.97 kB / 1.215 GB, free: 6.137 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004526/0.7546, allocations: 195.7 kB / 1.215 GB, free: 5.941 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.54e-05/0.7546, allocations: 15.98 kB / 1.215 GB, free: 5.926 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003914/0.7585, allocations: 4.556 MB / 1.22 GB, free: 1.09 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.7586, allocations: 0 / 1.22 GB, free: 1.09 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001673/0.7602, allocations: 1.053 MB / 1.221 GB, free: 12 kB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002453/0.7605, allocations: 211.6 kB / 1.221 GB, free: 15.79 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001/0.7606, allocations: 16 kB / 1.221 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003311/0.7609, allocations: 35.95 kB / 1.221 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001237/0.7611, allocations: 55.86 kB / 1.221 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.954e-05/0.7611, allocations: 16 kB / 1.221 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.001186/0.7623, allocations: 1.277 MB / 1.222 GB, free: 14.38 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.51e-07/0.7623, allocations: 4 kB / 1.222 GB, free: 14.38 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0007192/0.7631, allocations: 211.6 kB / 1.223 GB, free: 14.17 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: 12 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 7 (intGai.nextTimeEvent,reference.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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,13,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.002873/0.7659, allocations: 1.991 MB / 1.225 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001472/0.7674, allocations: 0.7577 MB / 1.225 GB, free: 11.56 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.7674, allocations: 0 / 1.225 GB, free: 11.56 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0008314/0.7683, allocations: 0.5559 MB / 1.226 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009388/0.7692, allocations: 200.5 kB / 1.226 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01191/0.7811, allocations: 9.403 MB / 1.235 GB, free: 0.9844 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006995/0.7819, allocations: 1.153 MB / 1.236 GB, free: 15.8 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002751/0.7821, allocations: 92.77 kB / 1.236 GB, free: 15.71 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004106/0.7826, allocations: 403.3 kB / 1.237 GB, free: 15.32 MB / 0.9981 GB Notification: Performance of SimCode: time 9.12e-07/0.7826, allocations: 0 / 1.237 GB, free: 15.32 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.873/2.656, allocations: 20.54 MB / 1.257 GB, free: 233.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001771/2.656, allocations: 282.8 kB / 1.257 GB, free: 233 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.259/4.915, allocations: 0 / 1.257 GB, free: 233 MB / 0.9981 GB (rm -f Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe ; mkfifo Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe ; head -c 1048576 < Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe >> ../files/Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2_res.mat --tempDir=temp_Buildings_10_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_fmu --startTime=0 --stopTime=5.184e+06 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2.fmu > Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe 2>&1)