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.006635/0.006635, allocations: 101.1 kB / 15.73 MB, free: 6.047 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.001222/0.001223, allocations: 190.6 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.46/1.46, allocations: 205.1 MB / 222.6 MB, free: 4.496 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.552/1.552, allocations: 251.7 MB / 0.5094 GB, free: 3.062 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.001689/0.00169, allocations: 67.91 kB / 0.7258 GB, free: 9.016 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2376/0.2394, allocations: 104.7 MB / 0.828 GB, free: 208 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_h): time 0.7742/1.014, allocations: 176.2 MB / 1 GB, free: 4.285 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.01075/1.024, allocations: 8.817 MB / 1.009 GB, free: 13.12 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001044/1.025, allocations: 24.5 kB / 1.009 GB, free: 13.11 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0008939/1.026, allocations: 305 kB / 1.009 GB, free: 12.84 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0008818/1.027, allocations: 314.8 kB / 1.009 GB, free: 12.59 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.001117/1.028, allocations: 382.1 kB / 1.01 GB, free: 12.3 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.001121/1.03, allocations: 1.155 MB / 1.011 GB, free: 11.64 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007954/1.03, allocations: 0.5826 MB / 1.011 GB, free: 11.31 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005163/1.036, allocations: 2.134 MB / 1.014 GB, free: 9.867 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005119/1.036, allocations: 345.8 kB / 1.014 GB, free: 9.66 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 6.115e-05/1.036, allocations: 48.41 kB / 1.014 GB, free: 9.652 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002231/1.036, allocations: 80.58 kB / 1.014 GB, free: 9.633 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.0003268/1.037, allocations: 254.4 kB / 1.014 GB, free: 9.477 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.0002737/1.037, allocations: 293.2 kB / 1.014 GB, free: 9.285 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0007427/1.038, allocations: 0.6411 MB / 1.015 GB, free: 8.871 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/1.038, allocations: 0 / 1.015 GB, free: 8.871 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.613e-06/1.038, allocations: 0 / 1.015 GB, free: 8.871 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 9.849e-06/1.038, allocations: 0 / 1.015 GB, free: 8.871 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.001062/1.039, allocations: 0.8278 MB / 1.016 GB, free: 8.168 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.648e-05/1.039, allocations: 14.09 kB / 1.016 GB, free: 8.164 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001147/1.039, allocations: 67.72 kB / 1.016 GB, free: 8.129 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007121/1.04, allocations: 446.2 kB / 1.016 GB, free: 7.758 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.575e-05/1.04, allocations: 39.56 kB / 1.016 GB, free: 7.742 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.299e-05/1.04, allocations: 55.27 kB / 1.017 GB, free: 7.723 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000974/1.041, allocations: 0.6985 MB / 1.017 GB, free: 7.195 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.027e-05/1.041, allocations: 6.562 kB / 1.017 GB, free: 7.191 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.69e-05/1.041, allocations: 27.45 kB / 1.017 GB, free: 7.172 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.195e-05/1.041, allocations: 34.92 kB / 1.017 GB, free: 7.16 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006041/1.042, allocations: 379.9 kB / 1.018 GB, free: 6.977 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002872/1.044, allocations: 3.204 MB / 1.021 GB, free: 4.02 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002672/1.045, allocations: 227.8 kB / 1.021 GB, free: 3.734 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001858/1.045, allocations: 130.6 kB / 1.021 GB, free: 3.617 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 1.66e-05/1.045, allocations: 2.938 kB / 1.021 GB, free: 3.617 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.702e-05/1.045, allocations: 47.78 kB / 1.021 GB, free: 3.566 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=10): time 1.533e-06/1.045, allocations: 0 / 1.021 GB, free: 3.566 MB / 0.7637 GB Notification: Performance of matching and sorting (n=10): time 0.0006658/1.046, allocations: 250.8 kB / 1.021 GB, free: 3.426 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001486/1.046, allocations: 293.2 kB / 1.022 GB, free: 3.074 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007418/1.047, allocations: 0.6831 MB / 1.022 GB, free: 2.691 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 2.314e-05/1.047, allocations: 25.7 kB / 1.022 GB, free: 2.66 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002293/1.047, allocations: 269 kB / 1.023 GB, free: 2.426 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 4.86e-05/1.047, allocations: 36.52 kB / 1.023 GB, free: 2.395 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.918e-05/1.047, allocations: 33.83 kB / 1.023 GB, free: 2.367 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001374/1.047, allocations: 366.1 kB / 1.023 GB, free: 2.016 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001069/1.047, allocations: 39.73 kB / 1.023 GB, free: 1.996 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001507/1.047, allocations: 97.39 kB / 1.023 GB, free: 1.922 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002286/1.048, allocations: 127.5 kB / 1.023 GB, free: 1.828 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/1.048, allocations: 4.328 kB / 1.023 GB, free: 1.824 MB / 0.7637 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000323/1.048, allocations: 183.6 kB / 1.023 GB, free: 1.719 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 2.352e-05/1.048, allocations: 7.25 kB / 1.023 GB, free: 1.719 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/1.048, allocations: 4.125 kB / 1.023 GB, free: 1.715 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.891e-05/1.048, allocations: 6.781 kB / 1.023 GB, free: 1.711 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002198/1.048, allocations: 47.86 kB / 1.024 GB, free: 1.691 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.094e-06/1.048, allocations: 3.938 kB / 1.024 GB, free: 1.688 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002127/1.049, allocations: 60.83 kB / 1.024 GB, free: 1.645 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.448e-05/1.049, allocations: 6.844 kB / 1.024 GB, free: 1.645 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.0001871/1.049, allocations: 201.2 kB / 1.024 GB, free: 1.48 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001908/1.049, allocations: 61.09 kB / 1.024 GB, free: 1.449 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.191e-05/1.049, allocations: 61.36 kB / 1.024 GB, free: 1.41 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.58e-06/1.049, allocations: 6.188 kB / 1.024 GB, free: 1.406 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.516e-06/1.049, allocations: 9.266 kB / 1.024 GB, free: 1.402 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/1.049, allocations: 2.688 kB / 1.024 GB, free: 1.402 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00137/1.05, allocations: 1.299 MB / 1.025 GB, free: 196 kB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/1.05, allocations: 2.375 kB / 1.025 GB, free: 196 kB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001715/1.051, allocations: 39.98 kB / 1.025 GB, free: 184 kB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/1.051, allocations: 2.75 kB / 1.025 GB, free: 184 kB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.209e-05/1.051, allocations: 4.344 kB / 1.025 GB, free: 184 kB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.151e-06/1.051, allocations: 7.25 kB / 1.025 GB, free: 180 kB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/1.051, allocations: 6.719 kB / 1.025 GB, free: 176 kB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004145/1.051, allocations: 337 kB / 1.026 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001546/1.051, allocations: 153.9 kB / 1.026 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.797e-05/1.051, allocations: 1.812 kB / 1.026 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001548/1.051, allocations: 5.812 kB / 1.026 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.504e-05/1.052, allocations: 26.7 kB / 1.026 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.632e-06/1.052, allocations: 5.688 kB / 1.026 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0004855/1.052, allocations: 0.4929 MB / 1.026 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/1.052, allocations: 0 / 1.026 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000361/1.052, allocations: 76.22 kB / 1.026 GB, free: 15.43 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.0003179/1.053, allocations: 149.8 kB / 1.026 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002937/1.053, allocations: 111.8 kB / 1.027 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/1.053, allocations: 3.938 kB / 1.027 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001281/1.053, allocations: 57.56 kB / 1.027 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00113/1.054, allocations: 280.5 kB / 1.027 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001196/1.056, allocations: 0.8801 MB / 1.028 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004772/1.056, allocations: 0.9049 MB / 1.029 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0002387/1.056, allocations: 104.3 kB / 1.029 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.801e-05/1.056, allocations: 34.75 kB / 1.029 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of SimCode: time 4.11e-07/1.056, allocations: 0 / 1.029 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of Templates: time 0.01536/1.072, allocations: 8.474 MB / 1.037 GB, free: 6.062 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)