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.006576/0.006576, allocations: 102.4 kB / 15.74 MB, free: 6.043 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.001773/0.001773, allocations: 200.5 kB / 16.68 MB, free: 5.965 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.428/1.428, allocations: 222.9 MB / 240.4 MB, free: 4.328 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.382/2.382, allocations: 437.1 MB / 0.7106 GB, free: 5.012 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001709/0.001709, allocations: 72.06 kB / 1.018 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2435/0.2452, allocations: 151.6 MB / 1.166 GB, free: 7.34 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7): time 0.6206/0.8658, allocations: 157.9 MB / 1.32 GB, free: 10.62 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.02484/0.8907, allocations: 22.13 MB / 1.342 GB, free: 10.45 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001985/0.8927, allocations: 65.72 kB / 1.342 GB, free: 10.43 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001482/0.8942, allocations: 1.383 MB / 1.343 GB, free: 10.18 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.001397/0.8956, allocations: 1.014 MB / 1.344 GB, free: 9.84 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001351/0.897, allocations: 0.6406 MB / 1.345 GB, free: 9.484 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.001498/0.8985, allocations: 1.699 MB / 1.347 GB, free: 8.754 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009578/0.8995, allocations: 0.9686 MB / 1.348 GB, free: 8.344 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007269/0.9002, allocations: 0.7313 MB / 1.348 GB, free: 8.082 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001063/0.9013, allocations: 1.191 MB / 1.349 GB, free: 7.773 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001314/0.9014, allocations: 90.97 kB / 1.35 GB, free: 7.773 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002778/0.9017, allocations: 142.8 kB / 1.35 GB, free: 7.758 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0003154/0.902, allocations: 414.3 kB / 1.35 GB, free: 7.562 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0005385/0.9026, allocations: 0.6572 MB / 1.351 GB, free: 7.098 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.00141/0.904, allocations: 1.616 MB / 1.352 GB, free: 6.414 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.904, allocations: 1.062 kB / 1.352 GB, free: 6.414 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.412e-06/0.904, allocations: 0 / 1.352 GB, free: 6.414 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.96e-05/0.904, allocations: 0 / 1.352 GB, free: 6.414 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: 157 * Number of variables: 157 Notification: Performance of Generate backend data structure: time 0.002637/0.9067, allocations: 1.982 MB / 1.354 GB, free: 5.07 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.062e-05/0.9067, allocations: 9.656 kB / 1.354 GB, free: 5.07 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001163/0.9068, allocations: 108.5 kB / 1.354 GB, free: 4.992 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002529/0.9071, allocations: 197 kB / 1.355 GB, free: 4.887 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001086/0.9082, allocations: 0.8991 MB / 1.355 GB, free: 4.281 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000126/0.9083, allocations: 90.59 kB / 1.356 GB, free: 4.227 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.461e-05/0.9084, allocations: 63.31 kB / 1.356 GB, free: 4.207 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001136/0.9096, allocations: 0.7211 MB / 1.356 GB, free: 3.883 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.014e-05/0.9096, allocations: 0 / 1.356 GB, free: 3.883 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.67e-05/0.9096, allocations: 29.44 kB / 1.356 GB, free: 3.863 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.219e-05/0.9097, allocations: 14.56 kB / 1.356 GB, free: 3.863 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00105/0.9107, allocations: 0.5477 MB / 1.357 GB, free: 3.68 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.004121/0.9148, allocations: 3.62 MB / 1.36 GB, free: 0.6289 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0012/0.9161, allocations: 0.6041 MB / 1.361 GB, free: 332 kB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006652/0.9167, allocations: 372 kB / 1.361 GB, free: 148 kB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.42e-05/0.9168, allocations: 7.531 kB / 1.361 GB, free: 144 kB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006829/0.9175, allocations: 383 kB / 1.362 GB, free: 15.9 MB / 1.045 GB Notification: Performance of pre-optimization done (n=65): time 1.844e-06/0.9175, allocations: 1.375 kB / 1.362 GB, free: 15.9 MB / 1.045 GB Notification: Performance of matching and sorting (n=65): time 0.00448/0.922, allocations: 1.788 MB / 1.363 GB, free: 14.88 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.714e-05/0.922, allocations: 59.78 kB / 1.364 GB, free: 14.82 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002063/0.9241, allocations: 2.259 MB / 1.366 GB, free: 13.81 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 4.857e-05/0.9242, allocations: 39.2 kB / 1.366 GB, free: 13.77 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005652/0.9247, allocations: 0.7223 MB / 1.366 GB, free: 13.14 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001672/0.9249, allocations: 229.6 kB / 1.367 GB, free: 12.95 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001818/0.9251, allocations: 128 kB / 1.367 GB, free: 12.86 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001308/0.9252, allocations: 333.8 kB / 1.367 GB, free: 12.54 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005438/0.9258, allocations: 275 kB / 1.367 GB, free: 12.41 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006514/0.9264, allocations: 430.6 kB / 1.368 GB, free: 12.11 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001082/0.9275, allocations: 0.6638 MB / 1.368 GB, free: 11.68 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/0.9275, allocations: 6.891 kB / 1.368 GB, free: 11.67 MB / 1.045 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.001969/0.9295, allocations: 1.127 MB / 1.37 GB, free: 11.09 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.9295, allocations: 4.906 kB / 1.37 GB, free: 11.09 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.9296, allocations: 9.219 kB / 1.37 GB, free: 11.08 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007002/0.9303, allocations: 271.6 kB / 1.37 GB, free: 10.96 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003711/0.9306, allocations: 120.5 kB / 1.37 GB, free: 10.93 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06768/0.9983, allocations: 3.709 MB / 1.374 GB, free: 8.066 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005867/0.9989, allocations: 96.41 kB / 1.374 GB, free: 8.004 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.346e-05/0.999, allocations: 26.78 kB / 1.374 GB, free: 8 MB / 1.045 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.0004557/0.9995, allocations: 465.7 kB / 1.374 GB, free: 7.727 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000147/0.9996, allocations: 161.3 kB / 1.374 GB, free: 7.637 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002404/0.9999, allocations: 187.9 kB / 1.374 GB, free: 7.52 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.9999, allocations: 5.625 kB / 1.374 GB, free: 7.52 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.955e-06/0.9999, allocations: 10.06 kB / 1.374 GB, free: 7.512 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.594e-06/0.9999, allocations: 3.984 kB / 1.374 GB, free: 7.508 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002886/1.003, allocations: 2.037 MB / 1.376 GB, free: 6.195 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/1.003, allocations: 3.938 kB / 1.376 GB, free: 6.191 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002408/1.003, allocations: 62.44 kB / 1.377 GB, free: 6.172 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006349/1.004, allocations: 284.5 kB / 1.377 GB, free: 6.035 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.186e-05/1.004, allocations: 16.52 kB / 1.377 GB, free: 6.023 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005376/1.009, allocations: 5.239 MB / 1.382 GB, free: 1.57 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/1.009, allocations: 0 / 1.382 GB, free: 1.57 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002261/1.011, allocations: 1.405 MB / 1.383 GB, free: 0.7656 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002928/1.012, allocations: 276.7 kB / 1.384 GB, free: 0.5273 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001137/1.012, allocations: 21.16 kB / 1.384 GB, free: 0.5117 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000364/1.012, allocations: 37.33 kB / 1.384 GB, free: 0.4922 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001308/1.012, allocations: 66.62 kB / 1.384 GB, free: 468 kB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.194e-05/1.012, allocations: 23.23 kB / 1.384 GB, free: 460 kB / 1.045 GB Notification: Performance of sorting global known variables: time 0.001411/1.014, allocations: 1.636 MB / 1.385 GB, free: 15.71 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.7e-07/1.014, allocations: 0 / 1.385 GB, free: 15.71 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0006893/1.015, allocations: 272.7 kB / 1.386 GB, free: 15.65 MB / 1.061 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.004011/1.019, allocations: 2.34 MB / 1.388 GB, free: 14.17 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001559/1.02, allocations: 0.9014 MB / 1.389 GB, free: 13.67 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/1.02, allocations: 0 / 1.389 GB, free: 13.67 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0009745/1.021, allocations: 0.6867 MB / 1.389 GB, free: 13.19 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001116/1.022, allocations: 277.8 kB / 1.39 GB, free: 13.04 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01391/1.036, allocations: 11.04 MB / 1.4 GB, free: 3.68 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009168/1.037, allocations: 1.311 MB / 1.402 GB, free: 2.34 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.000305/1.037, allocations: 122.4 kB / 1.402 GB, free: 2.215 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005733/1.038, allocations: 0.5461 MB / 1.402 GB, free: 1.668 MB / 1.061 GB Notification: Performance of SimCode: time 3.21e-07/1.038, allocations: 0 / 1.402 GB, free: 1.668 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 17.65/18.69, allocations: 29.2 MB / 1.431 GB, free: 4.816 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.17/36.85, allocations: 19.59 kB / 1.431 GB, free: 4.797 MB / 1.092 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7_res.mat --tempDir=temp_Buildings_10_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase7_fmu --startTime=0 --stopTime=5.184e+06 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase7.fmu > Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.pipe 2>&1)