Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2,fileNamePrefix="Buildings_9_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.004891/0.004891, allocations: 101.1 kB / 15.73 MB, free: 6.047 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.001081/0.001081, allocations: 190.6 kB / 16.67 MB, free: 5.977 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.337/1.337, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.372/2.372, allocations: 390.2 MB / 0.6648 GB, free: 172 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001169/0.001169, allocations: 66.39 kB / 0.9504 GB, free: 6 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2481/0.2493, allocations: 140.4 MB / 1.087 GB, free: 1.996 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2): time 0.1636/0.4129, allocations: 156.7 MB / 1.241 GB, free: 4.656 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.667/1.08, allocations: 21.74 MB / 1.262 GB, free: 3.191 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001843/1.082, allocations: 54.19 kB / 1.262 GB, free: 3.191 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001825/1.084, allocations: 1.161 MB / 1.263 GB, free: 3.191 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.00161/1.085, allocations: 0.8593 MB / 1.264 GB, free: 3.168 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001233/1.087, allocations: 444.6 kB / 1.264 GB, free: 3.16 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.001542/1.088, allocations: 1.249 MB / 1.265 GB, free: 3.16 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009391/1.089, allocations: 0.687 MB / 1.266 GB, free: 3.109 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001079/1.09, allocations: 0.5544 MB / 1.267 GB, free: 3.109 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001489/1.092, allocations: 0.913 MB / 1.268 GB, free: 3.109 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0001494/1.092, allocations: 65.67 kB / 1.268 GB, free: 3.109 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003475/1.092, allocations: 110.7 kB / 1.268 GB, free: 3.105 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0003379/1.092, allocations: 321.6 kB / 1.268 GB, free: 3.105 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0005646/1.093, allocations: 489 kB / 1.268 GB, free: 3.105 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.001597/1.095, allocations: 1.198 MB / 1.27 GB, free: 3.023 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/1.095, allocations: 0 / 1.27 GB, free: 3.023 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.305e-06/1.095, allocations: 2.75 kB / 1.27 GB, free: 3.023 MB / 1.014 GB Notification: Performance of Transformations before backend: time 2.68e-05/1.095, allocations: 0 / 1.27 GB, free: 3.023 MB / 1.014 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.002648/1.097, allocations: 1.477 MB / 1.271 GB, free: 2.156 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.545e-05/1.097, allocations: 10.59 kB / 1.271 GB, free: 2.156 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001069/1.098, allocations: 89.48 kB / 1.271 GB, free: 2.113 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002242/1.098, allocations: 135.4 kB / 1.271 GB, free: 2.043 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009675/1.099, allocations: 0.6665 MB / 1.272 GB, free: 1.66 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001506/1.099, allocations: 73.06 kB / 1.272 GB, free: 1.629 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001137/1.099, allocations: 45.19 kB / 1.272 GB, free: 1.629 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001138/1.1, allocations: 0.5171 MB / 1.273 GB, free: 1.566 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.2e-05/1.1, allocations: 2.688 kB / 1.273 GB, free: 1.566 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.291e-05/1.1, allocations: 21.17 kB / 1.273 GB, free: 1.566 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.899e-05/1.1, allocations: 12.05 kB / 1.273 GB, free: 1.566 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001039/1.101, allocations: 413.8 kB / 1.273 GB, free: 1.566 MB / 1.014 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.004203/1.106, allocations: 2.795 MB / 1.276 GB, free: 16.07 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00105/1.107, allocations: 454.2 kB / 1.276 GB, free: 16.05 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005728/1.107, allocations: 285.7 kB / 1.276 GB, free: 16.04 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.362e-05/1.107, allocations: 4.609 kB / 1.276 GB, free: 16.04 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005809/1.108, allocations: 296.6 kB / 1.277 GB, free: 15.99 MB / 1.029 GB Notification: Performance of pre-optimization done (n=45): time 2.635e-06/1.108, allocations: 0.5938 kB / 1.277 GB, free: 15.99 MB / 1.029 GB Notification: Performance of matching and sorting (n=45): time 0.003166/1.111, allocations: 1.255 MB / 1.278 GB, free: 15.67 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.195e-05/1.111, allocations: 57.02 kB / 1.278 GB, free: 15.61 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002299/1.113, allocations: 1.757 MB / 1.28 GB, free: 15.45 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 6.709e-05/1.114, allocations: 38.41 kB / 1.28 GB, free: 15.42 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004113/1.114, allocations: 0.5154 MB / 1.28 GB, free: 15.29 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001387/1.114, allocations: 148.9 kB / 1.28 GB, free: 15.2 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001511/1.114, allocations: 94.61 kB / 1.28 GB, free: 15.18 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001319/1.114, allocations: 329.3 kB / 1.281 GB, free: 14.88 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005159/1.115, allocations: 216.7 kB / 1.281 GB, free: 14.88 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005518/1.115, allocations: 329.9 kB / 1.281 GB, free: 14.77 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000916/1.116, allocations: 0.5038 MB / 1.282 GB, free: 14.67 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.621e-06/1.116, allocations: 2.062 kB / 1.282 GB, free: 14.67 MB / 1.029 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001718/1.118, allocations: 0.8561 MB / 1.283 GB, free: 14.54 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.063e-05/1.118, allocations: 6.75 kB / 1.283 GB, free: 14.54 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.192e-05/1.118, allocations: 7.188 kB / 1.283 GB, free: 14.54 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005377/1.119, allocations: 186 kB / 1.283 GB, free: 14.53 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003625/1.119, allocations: 95.45 kB / 1.283 GB, free: 14.53 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003578/1.123, allocations: 2.994 MB / 1.286 GB, free: 12.99 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006107/1.123, allocations: 73.84 kB / 1.286 GB, free: 12.97 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.382e-05/1.123, allocations: 20.67 kB / 1.286 GB, free: 12.97 MB / 1.029 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.0006926/1.124, allocations: 380.5 kB / 1.286 GB, free: 12.86 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001773/1.124, allocations: 120.7 kB / 1.286 GB, free: 12.79 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002578/1.124, allocations: 142.9 kB / 1.287 GB, free: 12.77 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.501e-06/1.125, allocations: 5.906 kB / 1.287 GB, free: 12.77 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.74e-05/1.125, allocations: 4.969 kB / 1.287 GB, free: 12.77 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.632e-06/1.125, allocations: 1.922 kB / 1.287 GB, free: 12.77 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002881/1.127, allocations: 1.563 MB / 1.288 GB, free: 12.43 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/1.127, allocations: 0.6875 kB / 1.288 GB, free: 12.43 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002329/1.128, allocations: 42.64 kB / 1.288 GB, free: 12.43 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005158/1.128, allocations: 199.8 kB / 1.288 GB, free: 12.41 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.867e-05/1.128, allocations: 13.05 kB / 1.288 GB, free: 12.41 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005274/1.134, allocations: 4.553 MB / 1.293 GB, free: 9.387 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.686e-06/1.134, allocations: 1.094 kB / 1.293 GB, free: 9.387 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002075/1.136, allocations: 1.06 MB / 1.294 GB, free: 9.156 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003862/1.136, allocations: 220 kB / 1.294 GB, free: 8.996 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001104/1.136, allocations: 13.62 kB / 1.294 GB, free: 8.996 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003292/1.137, allocations: 27.59 kB / 1.294 GB, free: 8.996 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000169/1.137, allocations: 52.36 kB / 1.294 GB, free: 8.996 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.001e-05/1.137, allocations: 18.19 kB / 1.294 GB, free: 8.996 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001784/1.139, allocations: 1.279 MB / 1.295 GB, free: 8.887 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.222e-06/1.139, allocations: 2.469 kB / 1.295 GB, free: 8.887 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000943/1.139, allocations: 203.2 kB / 1.296 GB, free: 8.867 MB / 1.029 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.003387/1.143, allocations: 1.988 MB / 1.298 GB, free: 8.004 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.00159/1.144, allocations: 0.7184 MB / 1.298 GB, free: 7.867 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.309e-06/1.145, allocations: 1.906 kB / 1.298 GB, free: 7.867 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0009033/1.145, allocations: 0.5534 MB / 1.299 GB, free: 7.621 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001107/1.147, allocations: 200.6 kB / 1.299 GB, free: 7.598 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01268/1.159, allocations: 8.565 MB / 1.307 GB, free: 5.281 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007898/1.16, allocations: 1.163 MB / 1.308 GB, free: 4.566 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0003564/1.16, allocations: 85.86 kB / 1.309 GB, free: 4.555 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003725/1.161, allocations: 406.5 kB / 1.309 GB, free: 4.551 MB / 1.029 GB Notification: Performance of SimCode: time 1.142e-06/1.161, allocations: 0 / 1.309 GB, free: 4.551 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04738/1.208, allocations: 21.25 MB / 1.33 GB, free: 2.078 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.38/12.59, allocations: 5.844 kB / 1.33 GB, free: 2.074 MB / 1.029 GB (rm -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe ; mkfifo Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe ; head -c 1048576 < Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe >> ../files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2_res.mat --tempDir=temp_Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_fmu --startTime=0 --stopTime=5.184e+06 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2.fmu > Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe 2>&1)