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.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.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.005005/0.005005, allocations: 95.02 kB / 15.73 MB, free: 6.484 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.001444/0.001444, allocations: 194.3 kB / 16.67 MB, free: 6.391 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.366/1.366, allocations: 222.9 MB / 240.4 MB, free: 4.32 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.457/2.457, allocations: 437.1 MB / 0.7106 GB, free: 5.008 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00169/0.00169, allocations: 67.89 kB / 1.018 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2421/0.2438, allocations: 151.6 MB / 1.166 GB, free: 7.309 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6): time 0.6135/0.8573, allocations: 157 MB / 1.32 GB, free: 10.84 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.02374/0.8811, allocations: 21.88 MB / 1.341 GB, free: 11.07 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001654/0.8828, allocations: 55.38 kB / 1.341 GB, free: 11.05 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001401/0.8842, allocations: 1.339 MB / 1.342 GB, free: 10.83 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.001193/0.8854, allocations: 0.9756 MB / 1.343 GB, free: 10.52 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001012/0.8864, allocations: 0.5043 MB / 1.344 GB, free: 10.24 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.001215/0.8876, allocations: 1.443 MB / 1.345 GB, free: 9.645 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007602/0.8884, allocations: 0.7718 MB / 1.346 GB, free: 9.336 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000601/0.889, allocations: 0.6439 MB / 1.347 GB, free: 9.121 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009961/0.89, allocations: 1.101 MB / 1.348 GB, free: 8.867 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001088/0.8901, allocations: 71.56 kB / 1.348 GB, free: 8.867 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002456/0.8904, allocations: 122.3 kB / 1.348 GB, free: 8.852 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.000281/0.8907, allocations: 378.4 kB / 1.348 GB, free: 8.68 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0004518/0.8911, allocations: 0.5576 MB / 1.349 GB, free: 8.289 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001194/0.8923, allocations: 1.372 MB / 1.35 GB, free: 7.727 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.8924, allocations: 1.344 kB / 1.35 GB, free: 7.727 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.102e-06/0.8924, allocations: 0 / 1.35 GB, free: 7.727 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.254e-05/0.8924, allocations: 0 / 1.35 GB, free: 7.727 MB / 1.029 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.002289/0.8947, allocations: 1.737 MB / 1.352 GB, free: 6.527 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.118e-05/0.8947, allocations: 9.094 kB / 1.352 GB, free: 6.527 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001078/0.8948, allocations: 90.72 kB / 1.352 GB, free: 6.457 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002266/0.8951, allocations: 169.3 kB / 1.352 GB, free: 6.367 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008676/0.8959, allocations: 0.7748 MB / 1.353 GB, free: 5.812 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001168/0.8961, allocations: 75.41 kB / 1.353 GB, free: 5.766 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.205e-05/0.8961, allocations: 50.75 kB / 1.353 GB, free: 5.75 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009237/0.8971, allocations: 0.5668 MB / 1.353 GB, free: 5.512 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.179e-05/0.8971, allocations: 9.531 kB / 1.353 GB, free: 5.504 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.749e-05/0.8972, allocations: 20.25 kB / 1.353 GB, free: 5.488 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.138e-05/0.8972, allocations: 12.38 kB / 1.353 GB, free: 5.488 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008139/0.898, allocations: 441.5 kB / 1.354 GB, free: 5.352 MB / 1.029 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.003411/0.9014, allocations: 3.014 MB / 1.357 GB, free: 3.168 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009805/0.9024, allocations: 498.3 kB / 1.357 GB, free: 2.98 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005818/0.903, allocations: 318.2 kB / 1.358 GB, free: 2.824 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.916e-05/0.9031, allocations: 5.188 kB / 1.358 GB, free: 2.824 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005883/0.9036, allocations: 331.4 kB / 1.358 GB, free: 2.613 MB / 1.029 GB Notification: Performance of pre-optimization done (n=52): time 2.114e-06/0.9037, allocations: 0 / 1.358 GB, free: 2.613 MB / 1.029 GB Notification: Performance of matching and sorting (n=52): time 0.00294/0.9066, allocations: 1.356 MB / 1.359 GB, free: 1.812 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.999e-05/0.9067, allocations: 56.97 kB / 1.359 GB, free: 1.75 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002021/0.9087, allocations: 2.121 MB / 1.361 GB, free: 0.8047 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.504e-05/0.9087, allocations: 43.39 kB / 1.361 GB, free: 0.7617 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004917/0.9092, allocations: 0.6266 MB / 1.362 GB, free: 224 kB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001325/0.9094, allocations: 178.5 kB / 1.362 GB, free: 68 kB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001425/0.9095, allocations: 101 kB / 1.362 GB, free: 4 kB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001428/0.9097, allocations: 327.3 kB / 1.363 GB, free: 15.68 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004723/0.9102, allocations: 240.6 kB / 1.363 GB, free: 15.57 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005543/0.9107, allocations: 354.4 kB / 1.363 GB, free: 15.32 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009069/0.9116, allocations: 0.5455 MB / 1.364 GB, free: 14.98 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.826e-06/0.9116, allocations: 0 / 1.364 GB, free: 14.98 MB / 1.045 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001621/0.9133, allocations: 0.9139 MB / 1.365 GB, free: 14.51 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.9133, allocations: 12 kB / 1.365 GB, free: 14.5 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.9133, allocations: 1.969 kB / 1.365 GB, free: 14.5 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000481/0.9138, allocations: 193.2 kB / 1.365 GB, free: 14.42 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003501/0.9142, allocations: 112.7 kB / 1.365 GB, free: 14.39 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003353/0.9175, allocations: 3.057 MB / 1.368 GB, free: 11.89 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004533/0.918, allocations: 84.11 kB / 1.368 GB, free: 11.84 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.38e-05/0.918, allocations: 19.81 kB / 1.368 GB, free: 11.84 MB / 1.045 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.0005356/0.9186, allocations: 439.1 kB / 1.368 GB, free: 11.58 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001429/0.9187, allocations: 141.6 kB / 1.369 GB, free: 11.5 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002131/0.9189, allocations: 169.5 kB / 1.369 GB, free: 11.41 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.561e-06/0.919, allocations: 9.156 kB / 1.369 GB, free: 11.4 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.568e-05/0.919, allocations: 6.688 kB / 1.369 GB, free: 11.4 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.614e-06/0.919, allocations: 3.984 kB / 1.369 GB, free: 11.39 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00243/0.9214, allocations: 1.734 MB / 1.37 GB, free: 10.25 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.105e-06/0.9214, allocations: 2.281 kB / 1.37 GB, free: 10.25 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002138/0.9217, allocations: 46.98 kB / 1.37 GB, free: 10.24 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004306/0.9221, allocations: 207.7 kB / 1.371 GB, free: 10.14 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.393e-05/0.9221, allocations: 13.23 kB / 1.371 GB, free: 10.13 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004141/0.9263, allocations: 4.61 MB / 1.375 GB, free: 6.027 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.9263, allocations: 0 / 1.375 GB, free: 6.027 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001785/0.9281, allocations: 1.17 MB / 1.376 GB, free: 5.344 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000263/0.9284, allocations: 245.6 kB / 1.377 GB, free: 5.129 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.621e-05/0.9285, allocations: 20.36 kB / 1.377 GB, free: 5.113 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000309/0.9288, allocations: 31.22 kB / 1.377 GB, free: 5.098 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001163/0.9289, allocations: 58.06 kB / 1.377 GB, free: 5.066 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.984e-05/0.929, allocations: 24.33 kB / 1.377 GB, free: 5.055 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.001368/0.9303, allocations: 1.543 MB / 1.378 GB, free: 4.363 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9303, allocations: 0 / 1.378 GB, free: 4.363 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0006711/0.931, allocations: 225.7 kB / 1.378 GB, free: 4.316 MB / 1.045 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.00355/0.9346, allocations: 2.103 MB / 1.38 GB, free: 2.961 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.001414/0.936, allocations: 0.7611 MB / 1.381 GB, free: 2.535 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.936, allocations: 0 / 1.381 GB, free: 2.535 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0008537/0.9369, allocations: 0.5877 MB / 1.382 GB, free: 2.109 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009831/0.9379, allocations: 224.3 kB / 1.382 GB, free: 1.992 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01156/0.9494, allocations: 9.834 MB / 1.392 GB, free: 12.59 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008325/0.9503, allocations: 1.248 MB / 1.393 GB, free: 11.48 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0002954/0.9506, allocations: 105 kB / 1.393 GB, free: 11.38 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005208/0.9511, allocations: 479.3 kB / 1.393 GB, free: 10.91 MB / 1.061 GB Notification: Performance of SimCode: time 5.31e-07/0.9511, allocations: 0 / 1.393 GB, free: 10.91 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 13.79/14.74, allocations: 24.11 MB / 1.417 GB, free: 3.09 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.96/32.7, allocations: 2.5 kB / 1.417 GB, free: 3.09 MB / 1.076 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=400 --tolerance=1e-06 Buildings_10_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6.fmu > Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe 2>&1)