Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.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_8.0.0_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.829/1.829, allocations: 287.5 MB / 302.6 MB, free: 8.254 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.00113/0.00113, allocations: 182.6 kB / 371.2 MB, free: 10.83 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.62/1.62, allocations: 205.4 MB / 0.6299 GB, free: 10.57 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.000922/0.0009222, allocations: 102 kB / 0.7432 GB, free: 6.57 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004014/0.0004014, allocations: 11.12 kB / 0.8661 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2366/0.237, allocations: 115.3 MB / 0.9787 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust): time 0.8535/1.091, allocations: 313.3 MB / 1.285 GB, free: 2.441 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.05463/1.145, allocations: 36.43 MB / 1.32 GB, free: 13.94 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007456/1.153, allocations: 111.2 kB / 1.32 GB, free: 13.83 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.007294/1.16, allocations: 1.479 MB / 1.322 GB, free: 12.34 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.01635/1.177, allocations: 4.159 MB / 1.326 GB, free: 8.168 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.008674/1.185, allocations: 2.232 MB / 1.328 GB, free: 5.961 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.01648/1.202, allocations: 9.762 MB / 1.337 GB, free: 12.17 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007907/1.21, allocations: 3.405 MB / 1.341 GB, free: 8.695 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01124/1.221, allocations: 3.742 MB / 1.344 GB, free: 4.938 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005513/1.226, allocations: 2.427 MB / 1.347 GB, free: 2.5 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 0.001351/1.228, allocations: 124 kB / 1.347 GB, free: 2.379 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009671/1.238, allocations: 2.865 MB / 1.35 GB, free: 15.51 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.002328/1.24, allocations: 0.9652 MB / 1.351 GB, free: 14.54 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.002448/1.242, allocations: 0.7576 MB / 1.351 GB, free: 13.77 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.009712/1.252, allocations: 5.039 MB / 1.356 GB, free: 8.719 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/1.252, allocations: 3.938 kB / 1.356 GB, free: 8.715 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.584e-06/1.252, allocations: 4 kB / 1.356 GB, free: 8.711 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0002712/1.252, allocations: 0 / 1.356 GB, free: 8.711 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: 645 * Number of variables: 645 Notification: Performance of Generate backend data structure: time 0.01013/1.263, allocations: 3.659 MB / 1.36 GB, free: 4.969 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.143e-05/1.263, allocations: 8.031 kB / 1.36 GB, free: 4.961 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008313/1.271, allocations: 1.467 MB / 1.361 GB, free: 3.488 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007009/1.278, allocations: 2.658 MB / 1.364 GB, free: 0.7578 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001552/1.28, allocations: 0.5408 MB / 1.365 GB, free: 200 kB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001046/1.281, allocations: 264.1 kB / 1.365 GB, free: 15.93 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009904/1.291, allocations: 3.468 MB / 1.368 GB, free: 12.37 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.601e-05/1.291, allocations: 0 / 1.368 GB, free: 12.37 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005221/1.291, allocations: 100 kB / 1.368 GB, free: 12.27 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001301/1.291, allocations: 108.8 kB / 1.368 GB, free: 12.16 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008735/1.3, allocations: 3.197 MB / 1.371 GB, free: 8.949 MB / 0.9011 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.02975/1.33, allocations: 14.43 MB / 1.386 GB, free: 9.484 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004408/1.334, allocations: 1.885 MB / 1.387 GB, free: 7.559 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001958/1.336, allocations: 0.8184 MB / 1.388 GB, free: 6.734 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004837/1.337, allocations: 312.3 kB / 1.388 GB, free: 6.371 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002423/1.339, allocations: 0.966 MB / 1.389 GB, free: 5.387 MB / 0.9167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002216/1.342, allocations: 142.3 kB / 1.39 GB, free: 5.246 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=108): time 1.163e-05/1.342, allocations: 4 kB / 1.39 GB, free: 5.242 MB / 0.9167 GB Notification: Performance of matching and sorting (n=108): time 0.00726/1.349, allocations: 2.517 MB / 1.392 GB, free: 2.691 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.734e-05/1.349, allocations: 119.8 kB / 1.392 GB, free: 2.551 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006047/1.355, allocations: 2.838 MB / 1.395 GB, free: 15.71 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0002423/1.355, allocations: 53.7 kB / 1.395 GB, free: 15.65 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.001626/1.357, allocations: 1.494 MB / 1.396 GB, free: 14.14 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004769/1.357, allocations: 378.5 kB / 1.397 GB, free: 13.77 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001339/1.358, allocations: 32 kB / 1.397 GB, free: 13.73 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001809/1.358, allocations: 369.8 kB / 1.397 GB, free: 13.37 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00256/1.36, allocations: 0.8979 MB / 1.398 GB, free: 12.47 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00289/1.363, allocations: 1.408 MB / 1.399 GB, free: 10.85 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004459/1.368, allocations: 2.049 MB / 1.401 GB, free: 8.633 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-05/1.368, allocations: 4 kB / 1.401 GB, free: 8.629 MB / 0.9323 GB Notification: Performance of matching and sorting (n=183) (initialization): time 0.006613/1.374, allocations: 2.542 MB / 1.404 GB, free: 6.074 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.00038/1.375, allocations: 475.6 kB / 1.404 GB, free: 5.438 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.958e-05/1.375, allocations: 12 kB / 1.404 GB, free: 5.426 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.648e-05/1.375, allocations: 20 kB / 1.404 GB, free: 5.406 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002155/1.377, allocations: 463.3 kB / 1.405 GB, free: 4.953 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.478e-05/1.377, allocations: 31.86 kB / 1.405 GB, free: 4.922 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004309/1.381, allocations: 0.5062 MB / 1.405 GB, free: 4.418 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000216/1.382, allocations: 71.97 kB / 1.405 GB, free: 4.348 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/1.382, allocations: 8 kB / 1.405 GB, free: 4.34 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005682/1.387, allocations: 2.266 MB / 1.408 GB, free: 2.07 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.127e-05/1.387, allocations: 12 kB / 1.408 GB, free: 2.059 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.858e-05/1.387, allocations: 20 kB / 1.408 GB, free: 2.039 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002098/1.389, allocations: 463.8 kB / 1.408 GB, free: 1.586 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.118e-05/1.39, allocations: 27.88 kB / 1.408 GB, free: 1.559 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004735/1.394, allocations: 445.4 kB / 1.409 GB, free: 1.125 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002663/1.395, allocations: 75.97 kB / 1.409 GB, free: 1.051 MB / 0.9323 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.002881/1.397, allocations: 0.8597 MB / 1.409 GB, free: 184 kB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001243/1.399, allocations: 284.6 kB / 1.41 GB, free: 15.89 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005767/1.405, allocations: 1.95 MB / 1.412 GB, free: 13.92 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.427e-05/1.405, allocations: 16 kB / 1.412 GB, free: 13.91 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.16e-05/1.405, allocations: 0 / 1.412 GB, free: 13.91 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003525/1.408, allocations: 1.532 MB / 1.413 GB, free: 12.34 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01154/1.42, allocations: 4.975 MB / 1.418 GB, free: 7.199 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.508e-05/1.42, allocations: 8 kB / 1.418 GB, free: 7.191 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001494/1.421, allocations: 280 kB / 1.418 GB, free: 6.918 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002781/1.421, allocations: 48.83 kB / 1.418 GB, free: 6.867 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001076/1.422, allocations: 35.98 kB / 1.418 GB, free: 6.832 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00132/1.423, allocations: 1.444 MB / 1.42 GB, free: 5.258 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.121e-06/1.423, allocations: 7.938 kB / 1.42 GB, free: 5.25 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006559/1.43, allocations: 2.951 MB / 1.423 GB, free: 2.199 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001772/1.431, allocations: 0.552 MB / 1.423 GB, free: 1.625 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008492/1.432, allocations: 32 kB / 1.423 GB, free: 1.594 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003118/1.435, allocations: 319.5 kB / 1.424 GB, free: 1.281 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002181/1.436, allocations: 88.77 kB / 1.424 GB, free: 1.195 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001601/1.436, allocations: 51.95 kB / 1.424 GB, free: 1.145 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.5539/1.99, allocations: 1.973 MB / 1.426 GB, free: 347 MB / 0.948 GB Notification: Performance of sort global known variables: time 8.82e-07/1.99, allocations: 0 / 1.426 GB, free: 347 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.006511/1.996, allocations: 1.542 MB / 1.427 GB, free: 347 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * 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.001268/1.997, allocations: 435.6 kB / 1.428 GB, free: 346.9 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.009575/2.007, allocations: 3.146 MB / 1.431 GB, free: 346.5 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-05/2.007, allocations: 5.969 kB / 1.431 GB, free: 346.5 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.002879/2.01, allocations: 0.937 MB / 1.432 GB, free: 346.1 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01177/2.022, allocations: 1.57 MB / 1.433 GB, free: 345.9 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01531/2.037, allocations: 6.869 MB / 1.44 GB, free: 342.4 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002669/2.04, allocations: 2.126 MB / 1.442 GB, free: 341.5 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.00501/2.045, allocations: 0.7496 MB / 1.443 GB, free: 341.4 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009181/2.046, allocations: 223.8 kB / 1.443 GB, free: 341.4 MB / 0.948 GB Notification: Performance of SimCode: time 1.914e-06/2.046, allocations: 1.531 kB / 1.443 GB, free: 341.4 MB / 0.948 GB Notification: Performance of Templates: time 0.1057/2.152, allocations: 56.35 MB / 1.498 GB, free: 309.7 MB / 0.948 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.sim & ./Buildings_8.0.0_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.pipe 2>&1)