Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.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.7.0.x_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.436/1.436, allocations: 252 MB / 268 MB, free: 10.87 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001527/0.001527, allocations: 175 kB / 327.6 MB, free: 2.102 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.619/1.619, allocations: 205.4 MB / 0.5786 GB, free: 20.16 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008551/0.0008551, allocations: 90.36 kB / 0.6832 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003722/0.0003722, allocations: 10.75 kB / 0.7976 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2281/0.2284, allocations: 106.3 MB / 0.9015 GB, free: 63.5 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust): time 0.9164/1.145, allocations: 373 MB / 1.266 GB, free: 13.09 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.06954/1.214, allocations: 47.4 MB / 1.312 GB, free: 13.57 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008483/1.223, allocations: 147 kB / 1.312 GB, free: 13.43 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.01002/1.233, allocations: 2.375 MB / 1.314 GB, free: 11.04 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.02447/1.258, allocations: 7.157 MB / 1.321 GB, free: 3.859 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.01094/1.269, allocations: 3.495 MB / 1.325 GB, free: 396 kB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.02141/1.29, allocations: 15.46 MB / 1.34 GB, free: 0.8867 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01061/1.301, allocations: 4.569 MB / 1.344 GB, free: 12.25 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01461/1.315, allocations: 5.108 MB / 1.349 GB, free: 7.113 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01058/1.326, allocations: 3.597 MB / 1.353 GB, free: 3.516 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 0.001838/1.328, allocations: 172 kB / 1.353 GB, free: 3.348 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01624/1.344, allocations: 6.827 MB / 1.36 GB, free: 12.5 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.003802/1.348, allocations: 1.37 MB / 1.361 GB, free: 11.13 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.007836/1.356, allocations: 2.372 MB / 1.363 GB, free: 8.738 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.01416/1.37, allocations: 6.956 MB / 1.37 GB, free: 1.766 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 8.335e-06/1.37, allocations: 7.938 kB / 1.37 GB, free: 1.758 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.675e-06/1.37, allocations: 0 / 1.37 GB, free: 1.758 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0003562/1.37, allocations: 0 / 1.37 GB, free: 1.758 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: 858 * Number of variables: 858 Notification: Performance of Generate backend data structure: time 0.01317/1.384, allocations: 4.704 MB / 1.375 GB, free: 12.96 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 5.158e-05/1.384, allocations: 12.03 kB / 1.375 GB, free: 12.95 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01121/1.395, allocations: 1.867 MB / 1.377 GB, free: 11.08 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0101/1.405, allocations: 3.517 MB / 1.38 GB, free: 7.496 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001961/1.407, allocations: 0.6931 MB / 1.381 GB, free: 6.777 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001371/1.408, allocations: 352 kB / 1.381 GB, free: 6.434 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01412/1.423, allocations: 4.636 MB / 1.386 GB, free: 1.699 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001321/1.423, allocations: 0 / 1.386 GB, free: 1.699 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009232/1.424, allocations: 140 kB / 1.386 GB, free: 1.562 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001863/1.424, allocations: 134.5 kB / 1.386 GB, free: 1.43 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01275/1.437, allocations: 4.218 MB / 1.39 GB, free: 13.2 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.5044/1.941, allocations: 18.79 MB / 1.408 GB, free: 355.1 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004521/1.946, allocations: 2.073 MB / 1.41 GB, free: 354.9 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002447/1.948, allocations: 1.091 MB / 1.411 GB, free: 354.9 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007011/1.949, allocations: 446.1 kB / 1.412 GB, free: 354.5 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003113/1.952, allocations: 1.281 MB / 1.413 GB, free: 354.4 MB / 0.9167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002045/1.954, allocations: 176.6 kB / 1.413 GB, free: 354.4 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=135): time 6.653e-06/1.954, allocations: 1.203 kB / 1.413 GB, free: 354.4 MB / 0.9167 GB Notification: Performance of matching and sorting (n=135): time 0.01014/1.964, allocations: 3.301 MB / 1.417 GB, free: 354.2 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.844e-05/1.964, allocations: 148.6 kB / 1.417 GB, free: 354 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007719/1.972, allocations: 3.682 MB / 1.42 GB, free: 353.8 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0005012/1.973, allocations: 65.33 kB / 1.42 GB, free: 353.7 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.002144/1.975, allocations: 2.005 MB / 1.422 GB, free: 353.3 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006266/1.975, allocations: 480.4 kB / 1.423 GB, free: 353 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001382/1.976, allocations: 36.59 kB / 1.423 GB, free: 353 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001344/1.976, allocations: 375 kB / 1.423 GB, free: 352.7 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003257/1.979, allocations: 1.19 MB / 1.424 GB, free: 352.7 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003425/1.982, allocations: 1.863 MB / 1.426 GB, free: 351.9 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005601/1.988, allocations: 2.768 MB / 1.429 GB, free: 350.6 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-05/1.988, allocations: 12.69 kB / 1.429 GB, free: 350.6 MB / 0.9167 GB Notification: Performance of matching and sorting (n=234) (initialization): time 0.009079/1.997, allocations: 3.328 MB / 1.432 GB, free: 349.5 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003301/1.998, allocations: 0.6019 MB / 1.433 GB, free: 348.8 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.636e-05/1.998, allocations: 15.84 kB / 1.433 GB, free: 348.8 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.764e-05/1.998, allocations: 29.77 kB / 1.433 GB, free: 348.8 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002602/2, allocations: 0.5754 MB / 1.433 GB, free: 348.7 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.573e-05/2, allocations: 39.48 kB / 1.433 GB, free: 348.7 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004791/2.005, allocations: 0.6198 MB / 1.434 GB, free: 348.6 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002247/2.005, allocations: 89.69 kB / 1.434 GB, free: 348.6 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.258e-05/2.005, allocations: 9.125 kB / 1.434 GB, free: 348.6 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006542/2.012, allocations: 2.93 MB / 1.437 GB, free: 347.6 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.149e-05/2.012, allocations: 15.88 kB / 1.437 GB, free: 347.6 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.095e-05/2.012, allocations: 26.53 kB / 1.437 GB, free: 347.6 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002538/2.015, allocations: 0.5728 MB / 1.437 GB, free: 347.6 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.288e-05/2.015, allocations: 31.16 kB / 1.437 GB, free: 347.6 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004445/2.019, allocations: 0.5401 MB / 1.438 GB, free: 347.5 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002134/2.019, allocations: 90.28 kB / 1.438 GB, free: 347.5 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 72 * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002132/2.021, allocations: 1.127 MB / 1.439 GB, free: 346.8 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007118/2.022, allocations: 372.7 kB / 1.44 GB, free: 346.6 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005634/2.028, allocations: 2.615 MB / 1.442 GB, free: 345.2 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.11e-05/2.028, allocations: 14.72 kB / 1.442 GB, free: 345.2 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.847e-06/2.028, allocations: 4 kB / 1.442 GB, free: 345.2 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004226/2.032, allocations: 2.215 MB / 1.444 GB, free: 343.9 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 postOpt removeSimpleEquations (simulation): time 0.01426/2.046, allocations: 7.082 MB / 1.451 GB, free: 339.3 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.186e-05/2.046, allocations: 11.56 kB / 1.451 GB, free: 339.3 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001843/2.048, allocations: 368.2 kB / 1.452 GB, free: 339.1 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002219/2.049, allocations: 64.75 kB / 1.452 GB, free: 339.1 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000115/2.049, allocations: 40.61 kB / 1.452 GB, free: 339 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009742/2.05, allocations: 1.441 MB / 1.453 GB, free: 337.4 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.236e-06/2.05, allocations: 15.94 kB / 1.453 GB, free: 337.4 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007561/2.057, allocations: 3.888 MB / 1.457 GB, free: 333.4 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001935/2.059, allocations: 0.676 MB / 1.458 GB, free: 332.7 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004744/2.06, allocations: 36.75 kB / 1.458 GB, free: 332.7 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003037/2.063, allocations: 441.5 kB / 1.458 GB, free: 332.2 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002244/2.063, allocations: 120.6 kB / 1.458 GB, free: 332.1 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001452/2.063, allocations: 67.97 kB / 1.458 GB, free: 332.1 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.003674/2.067, allocations: 2.56 MB / 1.461 GB, free: 329.5 MB / 0.9167 GB Notification: Performance of sort global known variables: time 2.8e-07/2.067, allocations: 0 / 1.461 GB, free: 329.5 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.00449/2.071, allocations: 1.98 MB / 1.463 GB, free: 327.5 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 38 * 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 (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.0009908/2.072, allocations: 495 kB / 1.463 GB, free: 327.1 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.008598/2.081, allocations: 4.094 MB / 1.467 GB, free: 323 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.266e-05/2.081, allocations: 5.875 kB / 1.467 GB, free: 323 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.002527/2.083, allocations: 1.181 MB / 1.468 GB, free: 321.8 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01498/2.098, allocations: 2.038 MB / 1.47 GB, free: 319.8 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01876/2.117, allocations: 9.705 MB / 1.48 GB, free: 310 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002794/2.12, allocations: 2.649 MB / 1.482 GB, free: 307.3 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001651/2.122, allocations: 315.3 kB / 1.483 GB, free: 307 MB / 0.9167 GB Notification: Performance of SimCode: time 1.403e-06/2.122, allocations: 0 / 1.483 GB, free: 307 MB / 0.9167 GB Notification: Performance of Templates: time 0.09914/2.221, allocations: 76.54 MB / 1.557 GB, free: 230.8 MB / 0.9167 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.pipe 2>&1)