Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust") translateModel(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.782/1.782, allocations: 288.3 MB / 303.2 MB, free: 8.266 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001132/0.001132, allocations: 175.6 kB / 371.8 MB, free: 10.25 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.825/1.825, allocations: 205.4 MB / 0.6306 GB, free: 9.965 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009216/0.0009217, allocations: 89.16 kB / 0.7439 GB, free: 5.887 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004166/0.0004166, allocations: 10.94 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2558/0.2563, allocations: 115.3 MB / 0.9794 GB, free: 27.67 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust): time 0.882/1.138, allocations: 305.6 MB / 1.278 GB, free: 6.539 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.06524/1.204, allocations: 41.97 MB / 1.319 GB, free: 12.49 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00847/1.212, allocations: 131.1 kB / 1.319 GB, free: 12.36 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.01024/1.222, allocations: 2.364 MB / 1.321 GB, free: 9.984 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.02833/1.251, allocations: 6.826 MB / 1.328 GB, free: 3.145 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.01635/1.267, allocations: 4.604 MB / 1.332 GB, free: 14.59 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.01553/1.283, allocations: 6.675 MB / 1.339 GB, free: 7.898 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01066/1.293, allocations: 4 MB / 1.343 GB, free: 3.848 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01308/1.307, allocations: 4.248 MB / 1.347 GB, free: 15.59 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006264/1.313, allocations: 2.24 MB / 1.349 GB, free: 13.34 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 0.001929/1.315, allocations: 168 kB / 1.349 GB, free: 13.17 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01148/1.326, allocations: 2.917 MB / 1.352 GB, free: 10.25 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.003374/1.33, allocations: 1.215 MB / 1.353 GB, free: 9.031 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.003642/1.333, allocations: 1.003 MB / 1.354 GB, free: 8.02 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.01536/1.349, allocations: 6.293 MB / 1.361 GB, free: 1.711 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/1.349, allocations: 0 / 1.361 GB, free: 1.711 MB / 0.8855 GB Notification: Performance of FrontEnd: time 4.408e-06/1.349, allocations: 0 / 1.361 GB, free: 1.711 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.000425/1.349, allocations: 4 kB / 1.361 GB, free: 1.707 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 856 * Number of variables: 856 Notification: Performance of Generate backend data structure: time 0.01405/1.363, allocations: 4.665 MB / 1.365 GB, free: 12.95 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.607e-05/1.364, allocations: 8.031 kB / 1.365 GB, free: 12.95 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01166/1.375, allocations: 1.925 MB / 1.367 GB, free: 11.01 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01203/1.387, allocations: 3.432 MB / 1.37 GB, free: 7.516 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001991/1.389, allocations: 0.7009 MB / 1.371 GB, free: 6.789 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001605/1.391, allocations: 344 kB / 1.371 GB, free: 6.453 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0157/1.407, allocations: 4.56 MB / 1.376 GB, free: 1.797 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000144/1.407, allocations: 0 / 1.376 GB, free: 1.797 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001087/1.408, allocations: 140 kB / 1.376 GB, free: 1.66 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001905/1.408, allocations: 134.5 kB / 1.376 GB, free: 1.527 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01287/1.421, allocations: 4.167 MB / 1.38 GB, free: 13.35 MB / 0.9167 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.03924/1.46, allocations: 18.85 MB / 1.399 GB, free: 9.125 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005022/1.465, allocations: 2.04 MB / 1.401 GB, free: 7.043 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005123/1.466, allocations: 170.3 kB / 1.401 GB, free: 6.859 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003234/1.469, allocations: 1.255 MB / 1.402 GB, free: 5.574 MB / 0.9323 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002505/1.472, allocations: 181.9 kB / 1.402 GB, free: 5.395 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=135): time 1.265e-05/1.472, allocations: 0 / 1.402 GB, free: 5.395 MB / 0.9323 GB Notification: Performance of matching and sorting (n=135): time 0.01026/1.482, allocations: 3.282 MB / 1.405 GB, free: 2.078 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001357/1.482, allocations: 226.6 kB / 1.406 GB, free: 1.809 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0087/1.491, allocations: 3.622 MB / 1.409 GB, free: 14.16 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0006041/1.492, allocations: 61.7 kB / 1.409 GB, free: 14.09 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002607/1.494, allocations: 2.009 MB / 1.411 GB, free: 12.07 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009787/1.495, allocations: 477.2 kB / 1.412 GB, free: 11.6 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003527/1.496, allocations: 39.94 kB / 1.412 GB, free: 11.56 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0002829/1.496, allocations: 374 kB / 1.412 GB, free: 11.19 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003541/1.5, allocations: 1.144 MB / 1.413 GB, free: 10.04 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004218/1.504, allocations: 1.811 MB / 1.415 GB, free: 7.934 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003881/1.508, allocations: 1.3 MB / 1.416 GB, free: 6.629 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.367e-05/1.508, allocations: 4 kB / 1.416 GB, free: 6.625 MB / 0.948 GB Notification: Performance of matching and sorting (n=234) (initialization): time 0.01016/1.518, allocations: 3.247 MB / 1.419 GB, free: 3.359 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.003191/1.521, allocations: 7.35 MB / 1.426 GB, free: 11.59 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.545e-05/1.521, allocations: 20 kB / 1.426 GB, free: 11.57 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.283e-05/1.521, allocations: 31.98 kB / 1.426 GB, free: 11.54 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003114/1.524, allocations: 0.5812 MB / 1.427 GB, free: 10.96 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.874e-05/1.524, allocations: 39.88 kB / 1.427 GB, free: 10.92 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005675/1.53, allocations: 0.6214 MB / 1.428 GB, free: 10.3 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004751/1.531, allocations: 103.9 kB / 1.428 GB, free: 10.2 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/1.531, allocations: 6.344 kB / 1.428 GB, free: 10.19 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007993/1.539, allocations: 2.89 MB / 1.431 GB, free: 7.293 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.815e-05/1.539, allocations: 16 kB / 1.431 GB, free: 7.277 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.182e-05/1.539, allocations: 28 kB / 1.431 GB, free: 7.25 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00276/1.542, allocations: 0.5857 MB / 1.431 GB, free: 6.664 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.78e-05/1.542, allocations: 35.86 kB / 1.431 GB, free: 6.629 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006946/1.549, allocations: 0.5326 MB / 1.432 GB, free: 6.094 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008466/1.55, allocations: 87.97 kB / 1.432 GB, free: 6.008 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 73 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,conPI.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (230): * Single equations (assignments): 226 * Array equations: 3 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004682/1.554, allocations: 1.121 MB / 1.433 GB, free: 4.875 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00212/1.556, allocations: 371.4 kB / 1.433 GB, free: 4.508 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008335/1.565, allocations: 2.496 MB / 1.436 GB, free: 1.984 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.195e-05/1.565, allocations: 16 kB / 1.436 GB, free: 1.969 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.455e-05/1.565, allocations: 0 / 1.436 GB, free: 1.969 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.5194/2.084, allocations: 1.924 MB / 1.438 GB, free: 360.3 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02338/2.108, allocations: 7.83 MB / 1.445 GB, free: 357.7 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.23e-05/2.108, allocations: 11.03 kB / 1.445 GB, free: 357.7 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002551/2.11, allocations: 376.3 kB / 1.446 GB, free: 357.7 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003797/2.111, allocations: 66.2 kB / 1.446 GB, free: 357.7 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001945/2.111, allocations: 46.7 kB / 1.446 GB, free: 357.7 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001411/2.112, allocations: 1.458 MB / 1.447 GB, free: 356.3 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.063e-05/2.112, allocations: 16.75 kB / 1.447 GB, free: 356.3 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01174/2.124, allocations: 5.324 MB / 1.452 GB, free: 352.9 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003989/2.128, allocations: 0.6825 MB / 1.453 GB, free: 352.6 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001973/2.13, allocations: 43.75 kB / 1.453 GB, free: 352.6 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005431/2.136, allocations: 436.7 kB / 1.454 GB, free: 352.6 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004789/2.136, allocations: 126.9 kB / 1.454 GB, free: 352.5 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002868/2.136, allocations: 73 kB / 1.454 GB, free: 352.5 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.005911/2.142, allocations: 2.507 MB / 1.456 GB, free: 351.6 MB / 0.9636 GB Notification: Performance of sort global known variables: time 2.41e-07/2.142, allocations: 0 / 1.456 GB, free: 351.6 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.007337/2.15, allocations: 2.01 MB / 1.458 GB, free: 351.4 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 50 * Number of states: 4 (conPI.I.y,vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1]) * 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 (133): * Single equations (assignments): 130 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001476/2.151, allocations: 0.4933 MB / 1.459 GB, free: 351.2 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.01047/2.162, allocations: 4.02 MB / 1.463 GB, free: 350.1 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.069e-05/2.162, allocations: 2.312 kB / 1.463 GB, free: 350.1 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.003307/2.165, allocations: 1.226 MB / 1.464 GB, free: 349.6 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01162/2.177, allocations: 1.919 MB / 1.466 GB, free: 349.3 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02264/2.199, allocations: 9.3 MB / 1.475 GB, free: 344.5 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003548/2.203, allocations: 2.739 MB / 1.477 GB, free: 343.5 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.006128/2.209, allocations: 0.9933 MB / 1.478 GB, free: 343.2 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001333/2.211, allocations: 267.8 kB / 1.479 GB, free: 343.2 MB / 0.9636 GB Notification: Performance of SimCode: time 7.92e-07/2.211, allocations: 0 / 1.479 GB, free: 343.2 MB / 0.9636 GB Notification: Performance of Templates: time 0.1075/2.318, allocations: 68.29 MB / 1.545 GB, free: 287.4 MB / 0.9636 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.pipe 2>&1)