Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.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.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust,fileNamePrefix="Buildings_9_Buildings_Fluid_FMI_Adaptors_Examples_ThermalZoneHVACNoExhaust",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust,fileNamePrefix="Buildings_9_Buildings_Fluid_FMI_Adaptors_Examples_ThermalZoneHVACNoExhaust",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.006131/0.006131, allocations: 103.8 kB / 15.73 MB, free: 6.039 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.001561/0.001561, allocations: 194.2 kB / 16.67 MB, free: 5.969 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.284/1.284, 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.096/2.096, allocations: 390.3 MB / 0.6648 GB, free: 240 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001627/0.001627, allocations: 61.69 kB / 0.9504 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2/0.2016, allocations: 140.4 MB / 1.087 GB, free: 2.035 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust): time 0.71/0.9117, allocations: 342.5 MB / 1.422 GB, free: 1.328 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.03706/0.9488, allocations: 36.54 MB / 1.458 GB, free: 3.637 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003508/0.9523, allocations: 135.4 kB / 1.458 GB, free: 3.59 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.004293/0.9566, allocations: 2.345 MB / 1.46 GB, free: 1.668 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.01095/0.9676, allocations: 5.777 MB / 1.466 GB, free: 12.48 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.005584/0.9732, allocations: 3.045 MB / 1.469 GB, free: 9.453 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.007569/0.9808, allocations: 8.558 MB / 1.477 GB, free: 0.8672 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003955/0.9847, allocations: 4.184 MB / 1.481 GB, free: 12.6 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007095/0.9919, allocations: 4.916 MB / 1.486 GB, free: 7.668 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0031/0.995, allocations: 2.699 MB / 1.489 GB, free: 4.973 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0004087/0.9954, allocations: 375.9 kB / 1.489 GB, free: 4.605 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007361/1.003, allocations: 5.141 MB / 1.494 GB, free: 15.45 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0009432/1.004, allocations: 1.258 MB / 1.495 GB, free: 14.19 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.001662/1.005, allocations: 2.072 MB / 1.497 GB, free: 12.11 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.006761/1.012, allocations: 7.105 MB / 1.504 GB, free: 4.984 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 3.626e-06/1.012, allocations: 0 / 1.504 GB, free: 4.984 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.112e-06/1.012, allocations: 4 kB / 1.504 GB, free: 4.98 MB / 1.123 GB Notification: Performance of Transformations before backend: time 3.696e-05/1.012, allocations: 0 / 1.504 GB, free: 4.98 MB / 1.123 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 645 * Number of variables: 645 Notification: Performance of Generate backend data structure: time 0.006017/1.018, allocations: 4.367 MB / 1.508 GB, free: 0.5273 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.402e-05/1.018, allocations: 8.031 kB / 1.508 GB, free: 0.5195 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003573/1.019, allocations: 358.4 kB / 1.509 GB, free: 164 kB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007564/1.026, allocations: 1.466 MB / 1.51 GB, free: 14.69 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004832/1.031, allocations: 2.887 MB / 1.513 GB, free: 11.73 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002101/1.031, allocations: 286.1 kB / 1.513 GB, free: 11.43 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003309/1.032, allocations: 256 kB / 1.513 GB, free: 11.18 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005225/1.037, allocations: 3.38 MB / 1.517 GB, free: 7.688 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.284e-05/1.037, allocations: 0 / 1.517 GB, free: 7.688 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002265/1.037, allocations: 108 kB / 1.517 GB, free: 7.582 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.554e-05/1.037, allocations: 108.8 kB / 1.517 GB, free: 7.473 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005905/1.043, allocations: 2.997 MB / 1.52 GB, free: 4.461 MB / 1.139 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.01625/1.059, allocations: 14.22 MB / 1.534 GB, free: 5.148 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003245/1.063, allocations: 1.638 MB / 1.535 GB, free: 3.469 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001445/1.064, allocations: 0.7114 MB / 1.536 GB, free: 2.754 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000329/1.064, allocations: 296.3 kB / 1.536 GB, free: 2.41 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001625/1.066, allocations: 0.841 MB / 1.537 GB, free: 1.547 MB / 1.154 GB Notification: Performance of pre-optimization done (n=104): time 2.104e-06/1.066, allocations: 3.938 kB / 1.537 GB, free: 1.543 MB / 1.154 GB Notification: Performance of matching and sorting (n=104): time 0.005137/1.071, allocations: 2.217 MB / 1.539 GB, free: 15.3 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.194e-05/1.071, allocations: 115.8 kB / 1.539 GB, free: 15.16 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002874/1.074, allocations: 2.603 MB / 1.542 GB, free: 12.54 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0001038/1.074, allocations: 57.7 kB / 1.542 GB, free: 12.48 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009976/1.075, allocations: 1.581 MB / 1.544 GB, free: 10.88 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002561/1.076, allocations: 370.7 kB / 1.544 GB, free: 10.52 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000464/1.076, allocations: 371 kB / 1.544 GB, free: 10.14 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 7.615e-05/1.076, allocations: 309.1 kB / 1.545 GB, free: 9.84 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001817/1.078, allocations: 0.7737 MB / 1.545 GB, free: 9.062 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002233/1.08, allocations: 1.484 MB / 1.547 GB, free: 7.254 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00361/1.084, allocations: 2.196 MB / 1.549 GB, free: 4.762 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.606e-06/1.084, allocations: 4 kB / 1.549 GB, free: 4.758 MB / 1.17 GB Notification: Performance of matching and sorting (n=216) (initialization): time 0.004708/1.089, allocations: 2.473 MB / 1.551 GB, free: 2.266 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 3.606e-05/1.089, allocations: 42.33 kB / 1.551 GB, free: 2.219 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.91e-05/1.089, allocations: 20 kB / 1.551 GB, free: 2.199 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.989e-05/1.089, allocations: 32 kB / 1.551 GB, free: 2.168 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001774/1.09, allocations: 479.2 kB / 1.552 GB, free: 1.699 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.382e-05/1.09, allocations: 43.84 kB / 1.552 GB, free: 1.656 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002124/1.093, allocations: 342.4 kB / 1.552 GB, free: 1.32 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001337/1.093, allocations: 95.97 kB / 1.552 GB, free: 1.227 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002576/1.095, allocations: 1.456 MB / 1.554 GB, free: 15.77 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002179/1.098, allocations: 1.468 MB / 1.555 GB, free: 13.98 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00355/1.101, allocations: 2.168 MB / 1.557 GB, free: 11.52 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.295e-06/1.101, allocations: 8 kB / 1.557 GB, free: 11.51 MB / 1.186 GB Notification: Performance of matching and sorting (n=216) (initialization_lambda0): time 0.004671/1.106, allocations: 2.459 MB / 1.56 GB, free: 9.035 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.86e-05/1.106, allocations: 41.7 kB / 1.56 GB, free: 8.988 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.656e-05/1.106, allocations: 21.25 kB / 1.56 GB, free: 8.969 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.126e-05/1.106, allocations: 32 kB / 1.56 GB, free: 8.938 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001739/1.108, allocations: 467.9 kB / 1.56 GB, free: 8.48 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.804e-05/1.108, allocations: 47.86 kB / 1.56 GB, free: 8.434 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002088/1.11, allocations: 287.3 kB / 1.561 GB, free: 8.152 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001291/1.11, allocations: 91.97 kB / 1.561 GB, free: 8.062 MB / 1.186 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 95 * Number of states: 0 () * Number of discrete variables: 6 (TSet.count,$PRE.TSet.count,TSet.T_start,$PRE.TSet.T_start,$whenCondition1,conPI.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (213): * Single equations (assignments): 210 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002852/1.11, allocations: 303.5 kB / 1.561 GB, free: 7.758 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003024/1.11, allocations: 272.6 kB / 1.561 GB, free: 7.488 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003544/1.114, allocations: 1.722 MB / 1.563 GB, free: 5.75 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.755e-06/1.114, allocations: 8 kB / 1.563 GB, free: 5.742 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/1.114, allocations: 4 kB / 1.563 GB, free: 5.738 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002807/1.117, allocations: 1.34 MB / 1.564 GB, free: 4.363 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006776/1.124, allocations: 4.37 MB / 1.569 GB, free: 15.82 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.843e-06/1.124, allocations: 4 kB / 1.569 GB, free: 15.82 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001193/1.125, allocations: 248.2 kB / 1.569 GB, free: 15.58 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001805/1.125, allocations: 52.83 kB / 1.569 GB, free: 15.52 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.17e-05/1.125, allocations: 27.98 kB / 1.569 GB, free: 15.5 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001008/1.126, allocations: 1.543 MB / 1.57 GB, free: 13.81 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.063e-06/1.126, allocations: 11.94 kB / 1.57 GB, free: 13.8 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004635/1.131, allocations: 2.521 MB / 1.573 GB, free: 11.18 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007595/1.132, allocations: 0.4974 MB / 1.573 GB, free: 10.66 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000249/1.132, allocations: 31.98 kB / 1.573 GB, free: 10.63 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001597/1.133, allocations: 135.8 kB / 1.573 GB, free: 10.5 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001397/1.134, allocations: 88.42 kB / 1.574 GB, free: 10.41 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.561e-05/1.134, allocations: 55.91 kB / 1.574 GB, free: 10.36 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.002131/1.136, allocations: 1.764 MB / 1.575 GB, free: 8.594 MB / 1.201 GB Notification: Performance of sort global known variables: time 1.31e-07/1.136, allocations: 0 / 1.575 GB, free: 8.594 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.002786/1.139, allocations: 1.531 MB / 1.577 GB, free: 7.059 MB / 1.201 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * Number of states: 4 (conPI.I.y,vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.m) * Number of discrete variables: 3 ($whenCondition1,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (103): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005512/1.144, allocations: 3.404 MB / 1.58 GB, free: 3.555 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.005675/1.15, allocations: 2.925 MB / 1.583 GB, free: 0.6133 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/1.15, allocations: 0 / 1.583 GB, free: 0.6133 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.001658/1.152, allocations: 0.8315 MB / 1.584 GB, free: 15.77 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004405/1.156, allocations: 1.298 MB / 1.585 GB, free: 14.49 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02828/1.184, allocations: 20.34 MB / 1.605 GB, free: 9.273 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001447/1.186, allocations: 2.13 MB / 1.607 GB, free: 7.109 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.002298/1.188, allocations: 0.7758 MB / 1.608 GB, free: 6.328 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001339/1.189, allocations: 1.257 MB / 1.609 GB, free: 5.07 MB / 1.232 GB Notification: Performance of SimCode: time 4.1e-07/1.189, allocations: 0 / 1.609 GB, free: 5.07 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.302/3.492, allocations: 66.85 MB / 1.674 GB, free: 2.891 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.5/18.99, allocations: 0 / 1.674 GB, free: 2.891 MB / 1.295 GB (rm -f Buildings_9_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.pipe ; mkfifo Buildings_9_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.pipe >> ../files/Buildings_9_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_FMI_Adaptors_Examples_ThermalZoneHVACNoExhaust_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_FMI_Adaptors_Examples_ThermalZoneHVACNoExhaust.fmu > Buildings_9_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.pipe 2>&1)