Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.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.ThermalZoneHVACNoExhaust,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust") translateModel(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.215/2.215, allocations: 251.1 MB / 266.7 MB, free: 11.58 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.0013/0.0013, allocations: 183.4 kB / 326.3 MB, free: 2.867 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.422/2.422, allocations: 205.4 MB / 0.5772 GB, free: 20.77 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.0009592/0.000959, allocations: 93.92 kB / 0.6817 GB, free: 13.61 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0007667/0.000767, allocations: 11.59 kB / 0.7957 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2841/0.2849, allocations: 106.3 MB / 0.8995 GB, free: 65.54 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust): time 1.192/1.477, allocations: 314 MB / 1.206 GB, free: 8.078 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.094/1.571, allocations: 36.68 MB / 1.242 GB, free: 5.727 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007678/1.579, allocations: 111.2 kB / 1.242 GB, free: 5.617 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.01014/1.589, allocations: 1.487 MB / 1.243 GB, free: 4.121 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.02543/1.614, allocations: 4.35 MB / 1.248 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.01379/1.628, allocations: 2.23 MB / 1.25 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.02471/1.653, allocations: 9.833 MB / 1.26 GB, free: 3.68 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01101/1.664, allocations: 3.192 MB / 1.263 GB, free: 456 kB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01638/1.68, allocations: 3.594 MB / 1.266 GB, free: 12.84 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009822/1.69, allocations: 2.536 MB / 1.269 GB, free: 10.29 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 0.0017/1.692, allocations: 128 kB / 1.269 GB, free: 10.17 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01612/1.708, allocations: 2.861 MB / 1.272 GB, free: 7.301 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.003671/1.712, allocations: 0.9769 MB / 1.272 GB, free: 6.32 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.003727/1.716, allocations: 0.7537 MB / 1.273 GB, free: 5.559 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.01613/1.732, allocations: 5.05 MB / 1.278 GB, free: 0.4961 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.274e-05/1.732, allocations: 4 kB / 1.278 GB, free: 0.4922 MB / 0.7917 GB Notification: Performance of FrontEnd: time 3.005e-06/1.732, allocations: 0 / 1.278 GB, free: 0.4922 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 0.0002263/1.732, allocations: 0 / 1.278 GB, free: 0.4922 MB / 0.7917 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 647 * Number of variables: 647 Notification: Performance of Generate backend data structure: time 0.0173/1.75, allocations: 3.702 MB / 1.282 GB, free: 12.71 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 7.09e-05/1.75, allocations: 8.031 kB / 1.282 GB, free: 12.7 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02013/1.77, allocations: 1.455 MB / 1.283 GB, free: 11.24 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01401/1.784, allocations: 2.554 MB / 1.286 GB, free: 8.613 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003721/1.788, allocations: 0.5408 MB / 1.286 GB, free: 8.051 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001676/1.789, allocations: 260 kB / 1.286 GB, free: 7.797 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01915/1.809, allocations: 3.472 MB / 1.29 GB, free: 4.223 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000124/1.809, allocations: 7.938 kB / 1.29 GB, free: 4.215 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007316/1.81, allocations: 104 kB / 1.29 GB, free: 4.113 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002521/1.81, allocations: 112.8 kB / 1.29 GB, free: 4 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02076/1.831, allocations: 3.205 MB / 1.293 GB, free: 0.7812 MB / 0.8073 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.05703/1.888, allocations: 14.44 MB / 1.307 GB, free: 1.297 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0108/1.899, allocations: 1.873 MB / 1.309 GB, free: 15.38 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005156/1.904, allocations: 0.8184 MB / 1.31 GB, free: 14.55 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009101/1.905, allocations: 316.2 kB / 1.31 GB, free: 14.2 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005907/1.911, allocations: 0.9621 MB / 1.311 GB, free: 13.21 MB / 0.8386 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002967/1.914, allocations: 142.3 kB / 1.311 GB, free: 13.07 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=108): time 1.666e-05/1.914, allocations: 0 / 1.311 GB, free: 13.07 MB / 0.8386 GB Notification: Performance of matching and sorting (n=108): time 0.01543/1.929, allocations: 2.513 MB / 1.314 GB, free: 10.53 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.83e-05/1.929, allocations: 115.8 kB / 1.314 GB, free: 10.39 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008298/1.938, allocations: 2.842 MB / 1.317 GB, free: 7.543 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.000419/1.938, allocations: 49.7 kB / 1.317 GB, free: 7.488 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.00248/1.941, allocations: 1.502 MB / 1.318 GB, free: 5.973 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007796/1.942, allocations: 378.6 kB / 1.319 GB, free: 5.598 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002137/1.942, allocations: 28 kB / 1.319 GB, free: 5.57 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002298/1.942, allocations: 361.9 kB / 1.319 GB, free: 5.211 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004757/1.947, allocations: 0.8979 MB / 1.32 GB, free: 4.312 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005625/1.953, allocations: 1.408 MB / 1.321 GB, free: 2.691 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005137/1.958, allocations: 1.017 MB / 1.322 GB, free: 1.672 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.666e-05/1.958, allocations: 4 kB / 1.322 GB, free: 1.668 MB / 0.8386 GB Notification: Performance of matching and sorting (n=183) (initialization): time 0.01239/1.97, allocations: 2.55 MB / 1.325 GB, free: 15.1 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004562/1.971, allocations: 468.7 kB / 1.325 GB, free: 14.48 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.793e-05/1.971, allocations: 12 kB / 1.325 GB, free: 14.46 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.163e-05/1.971, allocations: 24 kB / 1.325 GB, free: 14.44 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004467/1.975, allocations: 463.4 kB / 1.326 GB, free: 13.99 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.148e-05/1.975, allocations: 27.86 kB / 1.326 GB, free: 13.96 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007086/1.983, allocations: 0.5019 MB / 1.326 GB, free: 13.46 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004975/1.983, allocations: 75.97 kB / 1.326 GB, free: 13.39 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/1.983, allocations: 4 kB / 1.326 GB, free: 13.38 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01125/1.994, allocations: 2.254 MB / 1.328 GB, free: 11.12 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.653e-05/1.994, allocations: 15.94 kB / 1.328 GB, free: 11.11 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.932e-05/1.995, allocations: 23.94 kB / 1.328 GB, free: 11.09 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004404/1.999, allocations: 467.7 kB / 1.329 GB, free: 10.63 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.646e-05/1.999, allocations: 27.92 kB / 1.329 GB, free: 10.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006511/2.006, allocations: 451.9 kB / 1.329 GB, free: 10.16 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005063/2.006, allocations: 71.97 kB / 1.329 GB, free: 10.09 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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.003028/2.009, allocations: 0.8597 MB / 1.33 GB, free: 9.219 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001047/2.01, allocations: 280.4 kB / 1.33 GB, free: 8.941 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009483/2.02, allocations: 1.958 MB / 1.332 GB, free: 6.953 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007085/2.027, allocations: 1.532 MB / 1.334 GB, free: 5.387 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.019e-05/2.027, allocations: 0 / 1.334 GB, free: 5.387 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002356/2.029, allocations: 0.5442 MB / 1.334 GB, free: 4.82 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001007/2.03, allocations: 35.86 kB / 1.334 GB, free: 4.785 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005327/2.036, allocations: 311.9 kB / 1.335 GB, free: 4.48 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003746/2.036, allocations: 68.84 kB / 1.335 GB, free: 4.414 MB / 0.8542 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.009411/2.046, allocations: 1.748 MB / 1.337 GB, free: 2.656 MB / 0.8542 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01165/2.057, allocations: 2.828 MB / 1.339 GB, free: 15.81 MB / 0.8698 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003374/2.061, allocations: 0.7416 MB / 1.34 GB, free: 15.07 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.006513/2.067, allocations: 1.974 MB / 1.342 GB, free: 13.1 MB / 0.8698 GB Notification: Performance of Backend: time 1.443e-06/2.067, allocations: 0 / 1.342 GB, free: 13.1 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.01755/2.085, allocations: 3.535 MB / 1.345 GB, free: 9.555 MB / 0.8698 GB Notification: Performance of SimCode: time 0.02565/2.111, allocations: 7.713 MB / 1.353 GB, free: 1.797 MB / 0.8698 GB Notification: Performance of Templates: time 0.8449/2.956, allocations: 70.72 MB / 1.422 GB, free: 343 MB / 0.9167 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.sim & ./Buildings_7.0.0_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.pipe 2>&1)