Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.PropertySource_h.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Sources.Examples.PropertySource_h,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.PropertySource_h") translateModel(Buildings.Fluid.Sources.Examples.PropertySource_h,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.PropertySource_h") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006737/0.006737, allocations: 100.3 kB / 15.73 MB, free: 6.066 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001325/0.001325, allocations: 196.3 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.55/1.55, allocations: 205.1 MB / 222.6 MB, free: 4.492 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.533/1.533, allocations: 251.7 MB / 0.5094 GB, free: 3.055 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00146/0.00146, allocations: 82.23 kB / 0.7258 GB, free: 9 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2517/0.2532, allocations: 104.7 MB / 0.828 GB, free: 196 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_h): time 0.8234/1.077, allocations: 176.2 MB / 1 GB, free: 4.305 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.01101/1.088, allocations: 8.822 MB / 1.009 GB, free: 13.14 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008962/1.089, allocations: 27.12 kB / 1.009 GB, free: 13.12 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0008473/1.09, allocations: 301.9 kB / 1.009 GB, free: 12.86 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0007512/1.09, allocations: 298.1 kB / 1.009 GB, free: 12.62 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.001082/1.091, allocations: 379.2 kB / 1.01 GB, free: 12.33 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.001144/1.093, allocations: 1.155 MB / 1.011 GB, free: 11.67 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007521/1.093, allocations: 0.5821 MB / 1.011 GB, free: 11.34 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004914/1.098, allocations: 2.064 MB / 1.013 GB, free: 9.941 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005027/1.099, allocations: 357.8 kB / 1.014 GB, free: 9.723 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 6.432e-05/1.099, allocations: 37.97 kB / 1.014 GB, free: 9.723 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002365/1.099, allocations: 76.41 kB / 1.014 GB, free: 9.707 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.0002557/1.099, allocations: 257 kB / 1.014 GB, free: 9.551 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.0002839/1.1, allocations: 284.8 kB / 1.014 GB, free: 9.367 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0007809/1.1, allocations: 0.6492 MB / 1.015 GB, free: 8.945 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.339e-06/1.1, allocations: 0 / 1.015 GB, free: 8.945 MB / 0.7637 GB Notification: Performance of FrontEnd: time 2.104e-06/1.1, allocations: 0 / 1.015 GB, free: 8.945 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 1.569e-05/1.1, allocations: 0 / 1.015 GB, free: 8.945 MB / 0.7637 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 133 * Number of variables: 133 Notification: Performance of Generate backend data structure: time 0.001087/1.102, allocations: 0.8463 MB / 1.016 GB, free: 8.223 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/1.102, allocations: 9.438 kB / 1.016 GB, free: 8.223 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001085/1.102, allocations: 76.11 kB / 1.016 GB, free: 8.18 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006651/1.102, allocations: 447.2 kB / 1.016 GB, free: 7.809 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.598e-05/1.102, allocations: 39.59 kB / 1.016 GB, free: 7.793 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.246e-05/1.102, allocations: 55.27 kB / 1.016 GB, free: 7.773 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009981/1.103, allocations: 0.6999 MB / 1.017 GB, free: 7.246 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.832e-05/1.104, allocations: 0 / 1.017 GB, free: 7.246 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.99e-05/1.104, allocations: 27.45 kB / 1.017 GB, free: 7.227 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.67e-05/1.104, allocations: 38.8 kB / 1.017 GB, free: 7.211 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006196/1.104, allocations: 374.4 kB / 1.018 GB, free: 7.031 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002746/1.107, allocations: 3.216 MB / 1.021 GB, free: 4.062 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002824/1.107, allocations: 223 kB / 1.021 GB, free: 3.781 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001883/1.108, allocations: 131.6 kB / 1.021 GB, free: 3.664 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 1.572e-05/1.108, allocations: 2.562 kB / 1.021 GB, free: 3.664 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.538e-05/1.108, allocations: 55.59 kB / 1.021 GB, free: 3.605 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=10): time 1.593e-06/1.108, allocations: 0 / 1.021 GB, free: 3.605 MB / 0.7637 GB Notification: Performance of matching and sorting (n=10): time 0.0006776/1.108, allocations: 254.4 kB / 1.021 GB, free: 3.461 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001665/1.108, allocations: 289.8 kB / 1.022 GB, free: 3.113 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000736/1.109, allocations: 0.6834 MB / 1.022 GB, free: 2.73 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 2.606e-05/1.109, allocations: 29.69 kB / 1.022 GB, free: 2.695 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002152/1.109, allocations: 268.9 kB / 1.023 GB, free: 2.461 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 3.823e-05/1.109, allocations: 40.98 kB / 1.023 GB, free: 2.426 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.524e-05/1.11, allocations: 30.27 kB / 1.023 GB, free: 2.402 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001562/1.11, allocations: 365.9 kB / 1.023 GB, free: 2.051 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001107/1.11, allocations: 40.39 kB / 1.023 GB, free: 2.031 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001557/1.11, allocations: 94.61 kB / 1.023 GB, free: 1.957 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002389/1.11, allocations: 131.4 kB / 1.023 GB, free: 1.859 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/1.11, allocations: 4 kB / 1.023 GB, free: 1.855 MB / 0.7637 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003269/1.111, allocations: 191.7 kB / 1.023 GB, free: 1.742 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/1.111, allocations: 7.531 kB / 1.023 GB, free: 1.742 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/1.111, allocations: 4.672 kB / 1.023 GB, free: 1.738 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.748e-05/1.111, allocations: 6.594 kB / 1.023 GB, free: 1.734 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002181/1.111, allocations: 40.03 kB / 1.023 GB, free: 1.723 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.219e-05/1.111, allocations: 7.922 kB / 1.023 GB, free: 1.715 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002122/1.111, allocations: 52.45 kB / 1.024 GB, free: 1.68 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.551e-05/1.111, allocations: 16.83 kB / 1.024 GB, free: 1.672 MB / 0.7637 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * 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.0001899/1.111, allocations: 192.4 kB / 1.024 GB, free: 1.516 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002027/1.112, allocations: 61.5 kB / 1.024 GB, free: 1.484 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.318e-05/1.112, allocations: 68.66 kB / 1.024 GB, free: 1.438 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/1.112, allocations: 11.25 kB / 1.024 GB, free: 1.43 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.533e-06/1.112, allocations: 2.75 kB / 1.024 GB, free: 1.43 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/1.112, allocations: 4.781 kB / 1.024 GB, free: 1.43 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001378/1.113, allocations: 1.301 MB / 1.025 GB, free: 224 kB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/1.113, allocations: 2.719 kB / 1.025 GB, free: 224 kB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001797/1.113, allocations: 39.23 kB / 1.025 GB, free: 212 kB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.02e-06/1.113, allocations: 5.281 kB / 1.025 GB, free: 212 kB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.067e-05/1.113, allocations: 2.688 kB / 1.025 GB, free: 212 kB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/1.113, allocations: 6.406 kB / 1.025 GB, free: 208 kB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.551e-06/1.113, allocations: 6.531 kB / 1.025 GB, free: 204 kB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004074/1.114, allocations: 337.4 kB / 1.026 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001474/1.114, allocations: 150 kB / 1.026 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.644e-05/1.114, allocations: 6.656 kB / 1.026 GB, free: 15.76 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000171/1.114, allocations: 9.266 kB / 1.026 GB, free: 15.76 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.065e-05/1.114, allocations: 23.53 kB / 1.026 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.762e-06/1.114, allocations: 2.75 kB / 1.026 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0005567/1.115, allocations: 0.4946 MB / 1.026 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.4e-07/1.115, allocations: 0 / 1.026 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003976/1.115, allocations: 84.95 kB / 1.026 GB, free: 15.45 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0003344/1.116, allocations: 142.7 kB / 1.026 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003118/1.116, allocations: 105.7 kB / 1.027 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/1.116, allocations: 3.938 kB / 1.027 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001412/1.116, allocations: 68.06 kB / 1.027 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001284/1.117, allocations: 280.2 kB / 1.027 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001187/1.119, allocations: 0.8832 MB / 1.028 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00052/1.119, allocations: 0.9 MB / 1.029 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0002354/1.119, allocations: 107.6 kB / 1.029 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.75e-05/1.119, allocations: 34.97 kB / 1.029 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of SimCode: time 3.71e-07/1.119, allocations: 6.75 kB / 1.029 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of Templates: time 0.01559/1.135, allocations: 8.463 MB / 1.037 GB, free: 6.09 MB / 0.7794 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.PropertySource_h.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.PropertySource_h.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.PropertySource_h -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe 2>&1)