Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_8_Buildings.Fluid.Sources.Examples.PropertySource_h") translateModel(Buildings.Fluid.Sources.Examples.PropertySource_h,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001363/0.001363, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001495/0.001494, allocations: 194.6 kB / 16.53 MB, free: 6.391 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.416/1.416, allocations: 205.1 MB / 222.4 MB, free: 4.578 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.755/1.755, allocations: 292.3 MB / 0.5489 GB, free: 12.85 MB / 462.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.001481/0.001481, allocations: 69.89 kB / 0.6715 GB, free: 26.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2779/0.2794, allocations: 114.5 MB / 0.7834 GB, free: 13.5 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_h): time 0.6081/0.8875, allocations: 176 MB / 0.9552 GB, free: 0.9844 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01028/0.8978, allocations: 8.708 MB / 0.9637 GB, free: 240 kB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001/0.8989, allocations: 20.78 kB / 0.9637 GB, free: 232 kB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0008347/0.8998, allocations: 295.3 kB / 0.964 GB, free: 104 kB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0007728/0.9006, allocations: 315.1 kB / 0.9643 GB, free: 12 kB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009757/0.9016, allocations: 365.8 kB / 0.9647 GB, free: 0 / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001246/0.9028, allocations: 1.156 MB / 0.9658 GB, free: 15.87 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007694/0.9036, allocations: 0.5906 MB / 0.9664 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00464/0.9083, allocations: 2.061 MB / 0.9684 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004713/0.9088, allocations: 348.6 kB / 0.9687 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 7.539e-05/0.9088, allocations: 39.12 kB / 0.9688 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000232/0.9091, allocations: 78.02 kB / 0.9688 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0002369/0.9093, allocations: 266.8 kB / 0.9691 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0002812/0.9096, allocations: 283.5 kB / 0.9694 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.00064/0.9103, allocations: 0.6212 MB / 0.97 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.9103, allocations: 0 / 0.97 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.382e-06/0.9103, allocations: 0 / 0.97 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 9.709e-06/0.9103, allocations: 1.344 kB / 0.97 GB, free: 15.18 MB / 0.7325 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.00101/0.9113, allocations: 0.8208 MB / 0.9708 GB, free: 14.64 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.855e-05/0.9114, allocations: 9.781 kB / 0.9708 GB, free: 14.64 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001149/0.9115, allocations: 75.56 kB / 0.9708 GB, free: 14.6 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005306/0.912, allocations: 416.8 kB / 0.9712 GB, free: 14.32 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.275e-05/0.9121, allocations: 37.38 kB / 0.9713 GB, free: 14.32 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.739e-05/0.9121, allocations: 54.17 kB / 0.9713 GB, free: 14.32 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009377/0.9131, allocations: 0.704 MB / 0.972 GB, free: 14.06 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.725e-05/0.9131, allocations: 6.062 kB / 0.972 GB, free: 14.06 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.166e-05/0.9132, allocations: 20.59 kB / 0.972 GB, free: 14.06 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.191e-05/0.9132, allocations: 38.73 kB / 0.9721 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005969/0.9138, allocations: 373.1 kB / 0.9724 GB, free: 14.03 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002465/0.9163, allocations: 3.24 MB / 0.9756 GB, free: 11.56 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002475/0.9165, allocations: 216 kB / 0.9758 GB, free: 11.31 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001781/0.9167, allocations: 128.8 kB / 0.9759 GB, free: 11.23 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.714e-05/0.9168, allocations: 10.44 kB / 0.9759 GB, free: 11.22 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.826e-05/0.9168, allocations: 44.94 kB / 0.976 GB, free: 11.18 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=10): time 1.573e-06/0.9168, allocations: 0 / 0.976 GB, free: 11.18 MB / 0.7325 GB Notification: Performance of matching and sorting (n=10): time 0.0006845/0.9175, allocations: 246.9 kB / 0.9762 GB, free: 11.09 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001401/0.9176, allocations: 300.6 kB / 0.9765 GB, free: 10.74 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007445/0.9184, allocations: 0.6834 MB / 0.9772 GB, free: 10.62 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.236e-05/0.9184, allocations: 28.64 kB / 0.9772 GB, free: 10.59 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001805/0.9186, allocations: 268.4 kB / 0.9775 GB, free: 10.49 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.719e-05/0.9187, allocations: 33.27 kB / 0.9775 GB, free: 10.47 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.026e-05/0.9187, allocations: 29.25 kB / 0.9775 GB, free: 10.45 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001412/0.9189, allocations: 369.1 kB / 0.9779 GB, free: 10.14 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001076/0.919, allocations: 36.19 kB / 0.9779 GB, free: 10.14 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000163/0.9191, allocations: 97.77 kB / 0.978 GB, free: 10.09 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002306/0.9194, allocations: 132 kB / 0.9781 GB, free: 10.03 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.9194, allocations: 3 kB / 0.9781 GB, free: 10.03 MB / 0.7325 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003267/0.9197, allocations: 186.1 kB / 0.9783 GB, free: 9.961 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.9198, allocations: 5.812 kB / 0.9783 GB, free: 9.961 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.531e-06/0.9198, allocations: 1.125 kB / 0.9783 GB, free: 9.961 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.9198, allocations: 6.875 kB / 0.9783 GB, free: 9.957 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002172/0.92, allocations: 37.38 kB / 0.9784 GB, free: 9.957 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.735e-06/0.92, allocations: 4.141 kB / 0.9784 GB, free: 9.957 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002139/0.9202, allocations: 59.03 kB / 0.9784 GB, free: 9.922 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.176e-05/0.9203, allocations: 5.656 kB / 0.9784 GB, free: 9.922 MB / 0.7325 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.0001796/0.9205, allocations: 207.6 kB / 0.9786 GB, free: 9.801 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002088/0.9207, allocations: 57.38 kB / 0.9787 GB, free: 9.773 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.467e-05/0.9208, allocations: 64.34 kB / 0.9787 GB, free: 9.758 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.262e-06/0.9208, allocations: 3.781 kB / 0.9787 GB, free: 9.758 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.77e-06/0.9208, allocations: 6.312 kB / 0.9787 GB, free: 9.754 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.9208, allocations: 2.188 kB / 0.9787 GB, free: 9.754 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001264/0.9221, allocations: 1.304 MB / 0.98 GB, free: 8.758 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.9221, allocations: 2.406 kB / 0.98 GB, free: 8.758 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000189/0.9223, allocations: 48.16 kB / 0.9801 GB, free: 8.75 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.329e-06/0.9223, allocations: 3.844 kB / 0.9801 GB, free: 8.75 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.107e-05/0.9223, allocations: 8.906 kB / 0.9801 GB, free: 8.75 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.446e-06/0.9223, allocations: 2.938 kB / 0.9801 GB, free: 8.75 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.3e-06/0.9223, allocations: 6.812 kB / 0.9801 GB, free: 8.746 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003773/0.9227, allocations: 341.9 kB / 0.9804 GB, free: 8.5 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000139/0.9228, allocations: 150.1 kB / 0.9806 GB, free: 8.371 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.833e-05/0.9229, allocations: 7.062 kB / 0.9806 GB, free: 8.371 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001636/0.9231, allocations: 10.28 kB / 0.9806 GB, free: 8.371 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.441e-05/0.9231, allocations: 18.88 kB / 0.9806 GB, free: 8.363 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.073e-06/0.9232, allocations: 4.969 kB / 0.9806 GB, free: 8.363 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0004812/0.9236, allocations: 0.4935 MB / 0.9811 GB, free: 8.172 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9236, allocations: 4 kB / 0.9811 GB, free: 8.168 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003755/0.924, allocations: 85.44 kB / 0.9812 GB, free: 8.156 MB / 0.7325 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.0002701/0.9243, allocations: 125.2 kB / 0.9813 GB, free: 8.062 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002994/0.9246, allocations: 115 kB / 0.9814 GB, free: 8.031 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.9246, allocations: 0 / 0.9814 GB, free: 8.031 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001276/0.9248, allocations: 59.27 kB / 0.9814 GB, free: 8.016 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001302/0.9261, allocations: 291.6 kB / 0.9817 GB, free: 7.938 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0011/0.9272, allocations: 0.9 MB / 0.9826 GB, free: 7.383 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004077/0.9276, allocations: 0.9104 MB / 0.9835 GB, free: 6.578 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002275/0.9278, allocations: 106.3 kB / 0.9836 GB, free: 6.531 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.624e-05/0.9279, allocations: 33.81 kB / 0.9836 GB, free: 6.523 MB / 0.7325 GB Notification: Performance of SimCode: time 2.2e-07/0.9279, allocations: 1.594 kB / 0.9836 GB, free: 6.523 MB / 0.7325 GB Notification: Performance of Templates: time 0.01399/0.9419, allocations: 8.407 MB / 0.9918 GB, free: 2.453 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Fluid.Sources.Examples.PropertySource_h.makefile (rm -f Buildings_8_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe >> ../files/Buildings_8_Buildings.Fluid.Sources.Examples.PropertySource_h.sim & ./Buildings_8_Buildings.Fluid.Sources.Examples.PropertySource_h -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe 2>&1)