Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.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.ThermalZoneHVACNoExhaust,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust") translateModel(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.822/1.822, allocations: 288.3 MB / 303.2 MB, free: 8.055 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.001201/0.001201, allocations: 193 kB / 371.9 MB, free: 10.29 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.763/1.763, allocations: 205.4 MB / 0.6306 GB, free: 10.03 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.000825/0.0008249, allocations: 94.86 kB / 0.7439 GB, free: 5.961 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000392/0.0003921, allocations: 15.41 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2447/0.2451, allocations: 115.3 MB / 0.9794 GB, free: 27.71 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust): time 0.8848/1.13, allocations: 276.8 MB / 1.25 GB, free: 3.453 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.0485/1.178, allocations: 34.79 MB / 1.284 GB, free: 0.6094 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006278/1.185, allocations: 107.2 kB / 1.284 GB, free: 0.5039 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.007793/1.193, allocations: 1.921 MB / 1.286 GB, free: 14.57 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.02048/1.213, allocations: 5.453 MB / 1.291 GB, free: 9.109 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.01415/1.227, allocations: 3.687 MB / 1.295 GB, free: 5.461 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.01593/1.243, allocations: 5.015 MB / 1.3 GB, free: 452 kB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006769/1.25, allocations: 2.939 MB / 1.302 GB, free: 13.46 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009577/1.26, allocations: 3.267 MB / 1.306 GB, free: 10.18 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00429/1.264, allocations: 1.676 MB / 1.307 GB, free: 8.496 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 0.001536/1.266, allocations: 124 kB / 1.307 GB, free: 8.375 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009067/1.275, allocations: 2.492 MB / 1.31 GB, free: 5.879 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.002466/1.277, allocations: 0.8955 MB / 1.311 GB, free: 4.98 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.002399/1.28, allocations: 0.7498 MB / 1.311 GB, free: 4.223 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.008483/1.288, allocations: 4.785 MB / 1.316 GB, free: 15.43 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/1.288, allocations: 0 / 1.316 GB, free: 15.43 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.635e-06/1.288, allocations: 0 / 1.316 GB, free: 15.43 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0002712/1.289, allocations: 0 / 1.316 GB, free: 15.43 MB / 0.8542 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.009905/1.298, allocations: 3.636 MB / 1.32 GB, free: 11.71 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.318e-05/1.298, allocations: 8.031 kB / 1.32 GB, free: 11.7 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008707/1.307, allocations: 1.482 MB / 1.321 GB, free: 10.21 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008376/1.316, allocations: 2.577 MB / 1.324 GB, free: 7.562 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00155/1.317, allocations: 0.537 MB / 1.324 GB, free: 7.004 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009582/1.318, allocations: 264 kB / 1.324 GB, free: 6.746 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01087/1.329, allocations: 3.433 MB / 1.328 GB, free: 3.211 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.566e-05/1.329, allocations: 3.953 kB / 1.328 GB, free: 3.207 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006714/1.33, allocations: 104 kB / 1.328 GB, free: 3.105 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001389/1.33, allocations: 108.8 kB / 1.328 GB, free: 2.996 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01015/1.34, allocations: 3.189 MB / 1.331 GB, free: 15.79 MB / 0.8698 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.02876/1.369, allocations: 14.47 MB / 1.345 GB, free: 268 kB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004699/1.374, allocations: 1.873 MB / 1.347 GB, free: 14.34 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001363/1.374, allocations: 36.89 kB / 1.347 GB, free: 14.3 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002273/1.376, allocations: 0.9763 MB / 1.348 GB, free: 13.3 MB / 0.8855 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001742/1.378, allocations: 138.3 kB / 1.348 GB, free: 13.16 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=108): time 7.073e-06/1.378, allocations: 0 / 1.348 GB, free: 13.16 MB / 0.8855 GB Notification: Performance of matching and sorting (n=108): time 0.007519/1.386, allocations: 2.531 MB / 1.351 GB, free: 10.6 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001147/1.386, allocations: 200.8 kB / 1.351 GB, free: 10.36 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005875/1.392, allocations: 2.811 MB / 1.353 GB, free: 7.547 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0003119/1.392, allocations: 57.7 kB / 1.354 GB, free: 7.484 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.001612/1.394, allocations: 1.498 MB / 1.355 GB, free: 5.973 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005132/1.394, allocations: 382.5 kB / 1.355 GB, free: 5.594 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001546/1.394, allocations: 32 kB / 1.355 GB, free: 5.562 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001673/1.394, allocations: 365.8 kB / 1.356 GB, free: 5.199 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00243/1.397, allocations: 0.89 MB / 1.357 GB, free: 4.309 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002948/1.4, allocations: 1.405 MB / 1.358 GB, free: 2.691 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002642/1.403, allocations: 1.025 MB / 1.359 GB, free: 1.664 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.444e-05/1.403, allocations: 4 kB / 1.359 GB, free: 1.66 MB / 0.8855 GB Notification: Performance of matching and sorting (n=183) (initialization): time 0.006543/1.409, allocations: 2.543 MB / 1.361 GB, free: 15.09 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.001888/1.411, allocations: 5.109 MB / 1.366 GB, free: 9.664 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.426e-05/1.411, allocations: 15.94 kB / 1.366 GB, free: 9.648 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.318e-05/1.411, allocations: 20 kB / 1.367 GB, free: 9.629 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002174/1.413, allocations: 463.4 kB / 1.367 GB, free: 9.176 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.557e-05/1.413, allocations: 31.88 kB / 1.367 GB, free: 9.145 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004211/1.418, allocations: 0.5035 MB / 1.367 GB, free: 8.645 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002361/1.418, allocations: 79.97 kB / 1.368 GB, free: 8.566 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/1.418, allocations: 4 kB / 1.368 GB, free: 8.562 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005778/1.424, allocations: 2.262 MB / 1.37 GB, free: 6.293 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.38e-05/1.424, allocations: 12 kB / 1.37 GB, free: 6.281 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.701e-05/1.424, allocations: 20 kB / 1.37 GB, free: 6.262 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002135/1.426, allocations: 467.8 kB / 1.37 GB, free: 5.805 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.089e-05/1.426, allocations: 27.92 kB / 1.37 GB, free: 5.777 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004071/1.43, allocations: 445.8 kB / 1.371 GB, free: 5.344 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002189/1.43, allocations: 75.89 kB / 1.371 GB, free: 5.273 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * 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 (180): * Single equations (assignments): 177 * Array equations: 2 * 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.002145/1.432, allocations: 0.8713 MB / 1.372 GB, free: 4.391 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008228/1.433, allocations: 280.5 kB / 1.372 GB, free: 4.113 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005071/1.438, allocations: 1.875 MB / 1.374 GB, free: 2.207 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.705e-05/1.438, allocations: 12 kB / 1.374 GB, free: 2.195 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.24e-05/1.438, allocations: 0 / 1.374 GB, free: 2.195 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003205/1.442, allocations: 1.368 MB / 1.375 GB, free: 0.7969 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01295/1.455, allocations: 5.349 MB / 1.38 GB, free: 11.25 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-05/1.455, allocations: 11.98 kB / 1.38 GB, free: 11.24 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001581/1.456, allocations: 279.8 kB / 1.381 GB, free: 10.96 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002925/1.457, allocations: 56.83 kB / 1.381 GB, free: 10.91 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001407/1.457, allocations: 35.97 kB / 1.381 GB, free: 10.87 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001378/1.458, allocations: 1.464 MB / 1.382 GB, free: 9.277 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-05/1.458, allocations: 11.94 kB / 1.382 GB, free: 9.266 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007126/1.465, allocations: 3.761 MB / 1.386 GB, free: 5.16 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001913/1.467, allocations: 0.552 MB / 1.386 GB, free: 4.586 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008003/1.468, allocations: 32 kB / 1.386 GB, free: 4.555 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00324/1.471, allocations: 315.5 kB / 1.387 GB, free: 4.246 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002191/1.472, allocations: 104.3 kB / 1.387 GB, free: 4.145 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001705/1.472, allocations: 59.91 kB / 1.387 GB, free: 4.086 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.004572/1.476, allocations: 1.962 MB / 1.389 GB, free: 2.129 MB / 0.9167 GB Notification: Performance of sort global known variables: time 2.21e-07/1.476, allocations: 0 / 1.389 GB, free: 2.129 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.006303/1.483, allocations: 1.535 MB / 1.39 GB, free: 0.5898 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * 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 (106): * Single equations (assignments): 103 * 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.00147/1.484, allocations: 440.4 kB / 1.391 GB, free: 164 kB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.008416/1.493, allocations: 3.136 MB / 1.394 GB, free: 13 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.416e-05/1.493, allocations: 0 / 1.394 GB, free: 13 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.002395/1.495, allocations: 0.9489 MB / 1.395 GB, free: 12.04 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008158/1.503, allocations: 1.503 MB / 1.396 GB, free: 10.55 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01599/1.519, allocations: 6.917 MB / 1.403 GB, free: 3.504 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00271/1.522, allocations: 2.186 MB / 1.405 GB, free: 1.285 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.004968/1.527, allocations: 0.7572 MB / 1.406 GB, free: 0.5234 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001096/1.528, allocations: 211.4 kB / 1.406 GB, free: 324 kB / 0.9323 GB Notification: Performance of SimCode: time 1.773e-06/1.528, allocations: 0 / 1.406 GB, free: 324 kB / 0.9323 GB Notification: Performance of Templates: time 0.5864/2.114, allocations: 52.04 MB / 1.457 GB, free: 347.5 MB / 0.9636 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.pipe 2>&1)