Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2,fileNamePrefix="Buildings_11_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.001706/0.001706, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00185/0.00185, allocations: 195.9 kB / 16.53 MB, free: 6.664 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.681/1.681, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.734/2.734, allocations: 469.8 MB / 0.7424 GB, free: 7.43 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002156/0.002156, allocations: 65.38 kB / 0.9087 GB, free: 34.29 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2472/0.2493, allocations: 159.1 MB / 1.064 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2): time 0.1569/0.4063, allocations: 156.8 MB / 1.217 GB, free: 0.8398 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.02274/0.4291, allocations: 21.75 MB / 1.238 GB, free: 11.03 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001071/0.4302, allocations: 55.69 kB / 1.238 GB, free: 10.98 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001412/0.4316, allocations: 1.157 MB / 1.24 GB, free: 9.816 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001135/0.4328, allocations: 0.8562 MB / 1.24 GB, free: 8.957 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000827/0.4336, allocations: 446.3 kB / 1.241 GB, free: 8.523 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001103/0.4347, allocations: 1.251 MB / 1.242 GB, free: 7.27 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007243/0.4355, allocations: 0.6833 MB / 1.243 GB, free: 6.578 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005621/0.436, allocations: 0.5607 MB / 1.243 GB, free: 6.016 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009452/0.437, allocations: 0.9138 MB / 1.244 GB, free: 5.102 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001039/0.4371, allocations: 67.94 kB / 1.244 GB, free: 5.035 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001979/0.4373, allocations: 104 kB / 1.244 GB, free: 4.934 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002592/0.4376, allocations: 316.8 kB / 1.245 GB, free: 4.621 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004014/0.438, allocations: 492.8 kB / 1.245 GB, free: 4.137 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001254/0.4392, allocations: 1.176 MB / 1.246 GB, free: 2.957 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.4392, allocations: 3.984 kB / 1.246 GB, free: 2.953 MB / 0.9981 GB Notification: Performance of FrontEnd: time 9.81e-07/0.4393, allocations: 4 kB / 1.246 GB, free: 2.949 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 9.227e-06/0.4393, allocations: 4 kB / 1.246 GB, free: 2.945 MB / 0.9981 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.002038/0.4413, allocations: 1.479 MB / 1.248 GB, free: 1.414 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.275e-05/0.4413, allocations: 8.031 kB / 1.248 GB, free: 1.406 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.51e-05/0.4414, allocations: 90.64 kB / 1.248 GB, free: 1.309 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001665/0.4416, allocations: 135.2 kB / 1.248 GB, free: 1.176 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007659/0.4424, allocations: 0.6548 MB / 1.249 GB, free: 480 kB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001116/0.4425, allocations: 70.69 kB / 1.249 GB, free: 404 kB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.867e-05/0.4426, allocations: 51.98 kB / 1.249 GB, free: 352 kB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3741/0.8167, allocations: 0.5133 MB / 1.249 GB, free: 190.5 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.259e-05/0.8167, allocations: 2.047 kB / 1.249 GB, free: 190.5 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.115e-05/0.8168, allocations: 20.06 kB / 1.249 GB, free: 190.5 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.15e-05/0.8168, allocations: 10.16 kB / 1.249 GB, free: 190.5 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008027/0.8176, allocations: 414.2 kB / 1.25 GB, free: 190.5 MB / 0.9981 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.002877/0.8205, allocations: 2.807 MB / 1.252 GB, free: 189.1 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008459/0.8213, allocations: 458.1 kB / 1.253 GB, free: 189.1 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004588/0.8218, allocations: 281.6 kB / 1.253 GB, free: 189 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.779e-05/0.8218, allocations: 7.375 kB / 1.253 GB, free: 189 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004499/0.8223, allocations: 293.1 kB / 1.253 GB, free: 189 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=45): time 2.104e-06/0.8223, allocations: 0 / 1.253 GB, free: 189 MB / 0.9981 GB Notification: Performance of matching and sorting (n=45): time 0.002395/0.8247, allocations: 1.247 MB / 1.255 GB, free: 188.7 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.714e-05/0.8248, allocations: 60.75 kB / 1.255 GB, free: 188.6 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001354/0.8261, allocations: 1.751 MB / 1.256 GB, free: 188.5 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.969e-05/0.8261, allocations: 39.08 kB / 1.256 GB, free: 188.4 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002551/0.8264, allocations: 0.5189 MB / 1.257 GB, free: 188.3 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 6.948e-05/0.8265, allocations: 142.2 kB / 1.257 GB, free: 188.2 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001102/0.8266, allocations: 103.7 kB / 1.257 GB, free: 188.2 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.792e-05/0.8266, allocations: 324.9 kB / 1.257 GB, free: 187.9 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003752/0.827, allocations: 221.4 kB / 1.258 GB, free: 187.9 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003945/0.8274, allocations: 326.9 kB / 1.258 GB, free: 187.8 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006611/0.8281, allocations: 0.5081 MB / 1.258 GB, free: 187.7 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.8281, allocations: 0 / 1.258 GB, free: 187.7 MB / 0.9981 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001263/0.8294, allocations: 0.8496 MB / 1.259 GB, free: 187.5 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.8294, allocations: 6.562 kB / 1.259 GB, free: 187.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.8294, allocations: 9.266 kB / 1.259 GB, free: 187.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004121/0.8298, allocations: 180 kB / 1.259 GB, free: 187.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002935/0.8301, allocations: 104.5 kB / 1.26 GB, free: 187.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002441/0.8326, allocations: 2.993 MB / 1.262 GB, free: 185.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003382/0.8329, allocations: 78.95 kB / 1.263 GB, free: 185.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.852e-05/0.833, allocations: 20.61 kB / 1.263 GB, free: 185.5 MB / 0.9981 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.000311/0.8333, allocations: 381.6 kB / 1.263 GB, free: 185.4 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.713e-05/0.8334, allocations: 115.9 kB / 1.263 GB, free: 185.3 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001585/0.8335, allocations: 138.9 kB / 1.263 GB, free: 185.2 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.8335, allocations: 9.875 kB / 1.263 GB, free: 185.2 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.776e-06/0.8336, allocations: 2.719 kB / 1.263 GB, free: 185.2 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.692e-06/0.8336, allocations: 2.438 kB / 1.263 GB, free: 185.2 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001913/0.8355, allocations: 1.575 MB / 1.265 GB, free: 184.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.8355, allocations: 3.188 kB / 1.265 GB, free: 184.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001855/0.8357, allocations: 47.78 kB / 1.265 GB, free: 184.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003699/0.8361, allocations: 192.7 kB / 1.265 GB, free: 184.4 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.862e-05/0.8361, allocations: 19.06 kB / 1.265 GB, free: 184.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003189/0.8393, allocations: 4.553 MB / 1.269 GB, free: 180.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.8393, allocations: 0 / 1.269 GB, free: 180.6 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001595/0.8409, allocations: 1.058 MB / 1.27 GB, free: 180.1 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001913/0.8411, allocations: 221.4 kB / 1.271 GB, free: 179.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.29e-05/0.8412, allocations: 17.3 kB / 1.271 GB, free: 179.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002831/0.8415, allocations: 30.31 kB / 1.271 GB, free: 179.9 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001192/0.8416, allocations: 52.86 kB / 1.271 GB, free: 179.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.497e-05/0.8417, allocations: 16.62 kB / 1.271 GB, free: 179.9 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001182/0.8429, allocations: 1.281 MB / 1.272 GB, free: 179.4 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8429, allocations: 0 / 1.272 GB, free: 179.4 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0006154/0.8435, allocations: 199.1 kB / 1.272 GB, free: 179.4 MB / 0.9981 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.003111/0.8466, allocations: 1.985 MB / 1.274 GB, free: 178.3 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001468/0.8481, allocations: 0.7448 MB / 1.275 GB, free: 178 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.8481, allocations: 0.5 kB / 1.275 GB, free: 178 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0008226/0.8489, allocations: 0.5542 MB / 1.275 GB, free: 177.6 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008874/0.8498, allocations: 208.4 kB / 1.276 GB, free: 177.5 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009592/0.8594, allocations: 9.135 MB / 1.285 GB, free: 172.9 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005649/0.86, allocations: 1.15 MB / 1.286 GB, free: 172.2 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002613/0.8603, allocations: 92.14 kB / 1.286 GB, free: 172.1 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003203/0.8606, allocations: 407.9 kB / 1.286 GB, free: 171.8 MB / 0.9981 GB Notification: Performance of SimCode: time 5.41e-07/0.8606, allocations: 1 kB / 1.286 GB, free: 171.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.978/4.839, allocations: 20.87 MB / 1.307 GB, free: 159.5 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.82/16.66, allocations: 7.781 kB / 1.307 GB, free: 159.5 MB / 0.9981 GB (rm -f Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe ; mkfifo Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe ; head -c 1048576 < Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe >> ../files/Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2_res.mat --tempDir=temp_Buildings_11_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_fmu --startTime=0 --stopTime=5.184e+06 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2.fmu > Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe 2>&1)