Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust") translateModel(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.172/2.172, allocations: 251.1 MB / 266.7 MB, free: 11.64 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.001348/0.001347, allocations: 171.6 kB / 326.3 MB, free: 2.879 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.662/2.662, allocations: 205.4 MB / 0.5772 GB, free: 20.8 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.0009638/0.0009635, allocations: 91.91 kB / 0.6817 GB, free: 13.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005195/0.0005199, allocations: 11.91 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2162/0.2167, allocations: 106.3 MB / 0.8995 GB, free: 65.57 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust): time 1.307/1.523, allocations: 348 MB / 1.239 GB, free: 8.328 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.1111/1.635, allocations: 44.23 MB / 1.283 GB, free: 12 MB / 0.8074 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008088/1.643, allocations: 139.1 kB / 1.283 GB, free: 11.87 MB / 0.8074 GB Notification: Performance of NFTyping.typeComponents: time 0.01004/1.653, allocations: 1.789 MB / 1.284 GB, free: 10.07 MB / 0.8074 GB Notification: Performance of NFTyping.typeBindings: time 0.02485/1.678, allocations: 5.49 MB / 1.29 GB, free: 4.555 MB / 0.8074 GB Notification: Performance of NFTyping.typeClassSections: time 0.01301/1.691, allocations: 2.803 MB / 1.293 GB, free: 1.781 MB / 0.8074 GB Notification: Performance of NFFlatten.flatten: time 0.0259/1.717, allocations: 13.27 MB / 1.305 GB, free: 4.477 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01198/1.729, allocations: 4.339 MB / 1.31 GB, free: 88 kB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01603/1.745, allocations: 4.672 MB / 1.314 GB, free: 11.39 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009659/1.755, allocations: 3.396 MB / 1.318 GB, free: 7.984 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 0.001736/1.756, allocations: 175.9 kB / 1.318 GB, free: 7.812 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01482/1.771, allocations: 3.352 MB / 1.321 GB, free: 4.453 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.003659/1.775, allocations: 1.331 MB / 1.322 GB, free: 3.117 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.003363/1.778, allocations: 0.9992 MB / 1.323 GB, free: 2.109 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.01538/1.794, allocations: 6.632 MB / 1.33 GB, free: 11.46 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 7.525e-06/1.794, allocations: 0 / 1.33 GB, free: 11.46 MB / 0.8542 GB Notification: Performance of FrontEnd: time 3.226e-06/1.794, allocations: 0 / 1.33 GB, free: 11.46 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0002995/1.794, allocations: 0 / 1.33 GB, free: 11.46 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: 858 * Number of variables: 858 Notification: Performance of Generate backend data structure: time 0.01642/1.811, allocations: 4.763 MB / 1.334 GB, free: 6.613 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.546e-05/1.811, allocations: 12.02 kB / 1.334 GB, free: 6.602 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01886/1.83, allocations: 1.863 MB / 1.336 GB, free: 4.73 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01927/1.849, allocations: 3.39 MB / 1.34 GB, free: 1.281 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00363/1.853, allocations: 0.6892 MB / 1.34 GB, free: 0.5664 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001457/1.854, allocations: 355.9 kB / 1.341 GB, free: 224 kB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01776/1.872, allocations: 4.605 MB / 1.345 GB, free: 11.51 MB / 0.8699 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001233/1.872, allocations: 3.938 kB / 1.345 GB, free: 11.51 MB / 0.8699 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007299/1.873, allocations: 140 kB / 1.345 GB, free: 11.37 MB / 0.8699 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002227/1.873, allocations: 138.5 kB / 1.345 GB, free: 11.23 MB / 0.8699 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01945/1.892, allocations: 4.187 MB / 1.349 GB, free: 7.039 MB / 0.8699 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.05132/1.944, allocations: 18.79 MB / 1.368 GB, free: 2.906 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008728/1.953, allocations: 2.064 MB / 1.37 GB, free: 0.7969 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004857/1.958, allocations: 1.082 MB / 1.371 GB, free: 15.71 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001239/1.959, allocations: 449.5 kB / 1.371 GB, free: 15.2 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005411/1.964, allocations: 1.276 MB / 1.373 GB, free: 13.9 MB / 0.9011 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002674/1.967, allocations: 178 kB / 1.373 GB, free: 13.73 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=135): time 9.779e-06/1.967, allocations: 4.109 kB / 1.373 GB, free: 13.72 MB / 0.9011 GB Notification: Performance of matching and sorting (n=135): time 0.02446/1.992, allocations: 3.279 MB / 1.376 GB, free: 10.41 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001445/1.992, allocations: 149.8 kB / 1.376 GB, free: 10.23 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01497/2.007, allocations: 3.654 MB / 1.38 GB, free: 6.555 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.000736/2.008, allocations: 61.7 kB / 1.38 GB, free: 6.488 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.00416/2.012, allocations: 2.013 MB / 1.382 GB, free: 4.461 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.001236/2.013, allocations: 473.2 kB / 1.382 GB, free: 3.992 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004422/2.013, allocations: 36 kB / 1.382 GB, free: 3.957 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0003613/2.014, allocations: 381.8 kB / 1.383 GB, free: 3.578 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009352/2.023, allocations: 1.144 MB / 1.384 GB, free: 2.434 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01061/2.034, allocations: 1.83 MB / 1.385 GB, free: 316 kB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01007/2.044, allocations: 1.312 MB / 1.387 GB, free: 14.98 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.696e-05/2.044, allocations: 12 kB / 1.387 GB, free: 14.97 MB / 0.9167 GB Notification: Performance of matching and sorting (n=234) (initialization): time 0.02343/2.068, allocations: 3.251 MB / 1.39 GB, free: 11.7 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008146/2.068, allocations: 0.6002 MB / 1.39 GB, free: 10.88 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-05/2.069, allocations: 16 kB / 1.39 GB, free: 10.86 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.54e-05/2.069, allocations: 28 kB / 1.391 GB, free: 10.83 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007977/2.077, allocations: 0.589 MB / 1.391 GB, free: 10.24 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001097/2.077, allocations: 31.92 kB / 1.391 GB, free: 10.21 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01277/2.09, allocations: 0.6088 MB / 1.392 GB, free: 9.602 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008649/2.091, allocations: 99.95 kB / 1.392 GB, free: 9.504 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.04e-05/2.091, allocations: 4 kB / 1.392 GB, free: 9.5 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02092/2.112, allocations: 2.906 MB / 1.395 GB, free: 6.59 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.729e-05/2.112, allocations: 16.62 kB / 1.395 GB, free: 6.574 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.246e-05/2.112, allocations: 32 kB / 1.395 GB, free: 6.543 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00792/2.12, allocations: 0.5695 MB / 1.395 GB, free: 5.973 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.461e-05/2.12, allocations: 35.86 kB / 1.395 GB, free: 5.938 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01004/2.13, allocations: 0.5395 MB / 1.396 GB, free: 5.398 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006608/2.131, allocations: 95.91 kB / 1.396 GB, free: 5.305 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003881/2.135, allocations: 1.126 MB / 1.397 GB, free: 4.168 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001253/2.136, allocations: 367.3 kB / 1.397 GB, free: 3.805 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01239/2.148, allocations: 2.608 MB / 1.4 GB, free: 1.164 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.651/2.799, allocations: 2.214 MB / 1.402 GB, free: 359.7 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-05/2.799, allocations: 0 / 1.402 GB, free: 359.7 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00268/2.802, allocations: 0.6682 MB / 1.403 GB, free: 359.6 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001355/2.803, allocations: 30.38 kB / 1.403 GB, free: 359.6 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006637/2.81, allocations: 393 kB / 1.403 GB, free: 359.6 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004604/2.811, allocations: 88.94 kB / 1.403 GB, free: 359.6 MB / 0.9167 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01258/2.823, allocations: 2.355 MB / 1.406 GB, free: 359.4 MB / 0.9167 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01598/2.839, allocations: 3.758 MB / 1.409 GB, free: 359 MB / 0.9167 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004789/2.844, allocations: 0.9809 MB / 1.41 GB, free: 359 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.008897/2.853, allocations: 2.53 MB / 1.413 GB, free: 358.8 MB / 0.9167 GB Notification: Performance of Backend: time 1.122e-06/2.853, allocations: 0.7188 kB / 1.413 GB, free: 358.8 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.02309/2.876, allocations: 4.395 MB / 1.417 GB, free: 358.6 MB / 0.9167 GB Notification: Performance of SimCode: time 0.03129/2.908, allocations: 10.01 MB / 1.427 GB, free: 354.3 MB / 0.9167 GB Notification: Performance of Templates: time 0.2167/3.124, allocations: 90.54 MB / 1.515 GB, free: 275.3 MB / 0.9167 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.sim & ./Buildings_7.0.0_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.pipe 2>&1)