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.001174/0.001174, allocations: 102.2 kB / 16.27 MB, free: 5.859 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.001227/0.001227, allocations: 188.7 kB / 17.19 MB, free: 5.508 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.396/1.396, allocations: 205.1 MB / 223.1 MB, free: 12.27 MB / 190.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.919/1.919, allocations: 292.3 MB / 0.5495 GB, free: 17.6 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.001609/0.00161, allocations: 64.33 kB / 0.6722 GB, free: 6.574 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.251/0.2526, allocations: 114.6 MB / 0.784 GB, free: 3.906 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_h): time 0.6593/0.9119, allocations: 176 MB / 0.9559 GB, free: 10.53 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.0102/0.9222, allocations: 8.699 MB / 0.9644 GB, free: 1.812 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001018/0.9232, allocations: 27.81 kB / 0.9644 GB, free: 1.785 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.0008598/0.9242, allocations: 297.8 kB / 0.9647 GB, free: 1.492 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.0007753/0.925, allocations: 306.4 kB / 0.965 GB, free: 1.191 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.001138/0.9261, allocations: 370.7 kB / 0.9653 GB, free: 0.832 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.001161/0.9273, allocations: 1.152 MB / 0.9665 GB, free: 15.68 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007826/0.9281, allocations: 0.5842 MB / 0.967 GB, free: 15.09 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005055/0.9332, allocations: 2.064 MB / 0.969 GB, free: 13.02 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005597/0.9338, allocations: 350.4 kB / 0.9694 GB, free: 12.68 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 6.396e-05/0.9338, allocations: 40 kB / 0.9694 GB, free: 12.64 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002485/0.9341, allocations: 79.97 kB / 0.9695 GB, free: 12.56 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.0002686/0.9344, allocations: 255.3 kB / 0.9697 GB, free: 12.31 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.0003015/0.9347, allocations: 286.5 kB / 0.97 GB, free: 12.03 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0006915/0.9354, allocations: 0.6229 MB / 0.9706 GB, free: 11.4 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.9354, allocations: 0 / 0.9706 GB, free: 11.4 MB / 0.7637 GB Notification: Performance of FrontEnd: time 4.088e-06/0.9354, allocations: 0 / 0.9706 GB, free: 11.4 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 9.488e-06/0.9354, allocations: 3.938 kB / 0.9706 GB, free: 11.4 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.00104/0.9365, allocations: 0.8173 MB / 0.9714 GB, free: 10.53 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.358e-05/0.9365, allocations: 12.03 kB / 0.9714 GB, free: 10.52 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001177/0.9366, allocations: 75.19 kB / 0.9715 GB, free: 10.45 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005669/0.9372, allocations: 410.2 kB / 0.9719 GB, free: 10 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.645e-05/0.9373, allocations: 45.25 kB / 0.9719 GB, free: 9.957 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.177e-05/0.9373, allocations: 48 kB / 0.972 GB, free: 9.91 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001004/0.9383, allocations: 0.7081 MB / 0.9727 GB, free: 9.121 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.126e-05/0.9384, allocations: 7.938 kB / 0.9727 GB, free: 9.113 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.549e-05/0.9384, allocations: 24 kB / 0.9727 GB, free: 9.09 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.596e-05/0.9385, allocations: 31.92 kB / 0.9727 GB, free: 9.059 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006107/0.9391, allocations: 372.4 kB / 0.9731 GB, free: 8.695 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002502/0.9416, allocations: 3.239 MB / 0.9763 GB, free: 5.312 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002613/0.9419, allocations: 222.1 kB / 0.9765 GB, free: 5.004 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002073/0.9421, allocations: 128.5 kB / 0.9766 GB, free: 4.848 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 1.739e-05/0.9421, allocations: 8 kB / 0.9766 GB, free: 4.84 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.756e-05/0.9422, allocations: 44.38 kB / 0.9766 GB, free: 4.789 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=10): time 1.703e-06/0.9422, allocations: 0 / 0.9766 GB, free: 4.789 MB / 0.7637 GB Notification: Performance of matching and sorting (n=10): time 0.0007114/0.9429, allocations: 248.6 kB / 0.9769 GB, free: 4.539 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001636/0.9431, allocations: 299.9 kB / 0.9772 GB, free: 4.18 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007533/0.9438, allocations: 0.6839 MB / 0.9778 GB, free: 3.488 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 2.457e-05/0.9439, allocations: 25.7 kB / 0.9779 GB, free: 3.457 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002213/0.9441, allocations: 272.1 kB / 0.9781 GB, free: 3.188 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 3.751e-05/0.9441, allocations: 33.52 kB / 0.9781 GB, free: 3.156 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.449e-05/0.9442, allocations: 29.7 kB / 0.9782 GB, free: 3.121 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.000159/0.9444, allocations: 366.8 kB / 0.9785 GB, free: 2.754 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001119/0.9445, allocations: 39.95 kB / 0.9786 GB, free: 2.715 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001619/0.9447, allocations: 97.05 kB / 0.9787 GB, free: 2.602 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000246/0.9449, allocations: 129 kB / 0.9788 GB, free: 2.457 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-06/0.9449, allocations: 0 / 0.9788 GB, free: 2.457 MB / 0.7637 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003358/0.9453, allocations: 189 kB / 0.979 GB, free: 2.266 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/0.9453, allocations: 8 kB / 0.979 GB, free: 2.258 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.7e-06/0.9453, allocations: 0 / 0.979 GB, free: 2.258 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.123e-05/0.9453, allocations: 7.938 kB / 0.979 GB, free: 2.25 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000227/0.9456, allocations: 39.89 kB / 0.979 GB, free: 2.211 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.467e-06/0.9456, allocations: 4 kB / 0.979 GB, free: 2.207 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002103/0.9458, allocations: 59.27 kB / 0.9791 GB, free: 2.148 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.339e-05/0.9458, allocations: 8 kB / 0.9791 GB, free: 2.141 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.000206/0.946, allocations: 205.1 kB / 0.9793 GB, free: 1.934 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002058/0.9463, allocations: 63.25 kB / 0.9793 GB, free: 1.871 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.399e-05/0.9463, allocations: 60.27 kB / 0.9794 GB, free: 1.809 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.631e-06/0.9463, allocations: 4 kB / 0.9794 GB, free: 1.805 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.243e-06/0.9464, allocations: 6 kB / 0.9794 GB, free: 1.801 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.9464, allocations: 3.984 kB / 0.9794 GB, free: 1.797 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001294/0.9477, allocations: 1.301 MB / 0.9807 GB, free: 416 kB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.165e-06/0.9477, allocations: 3.938 kB / 0.9807 GB, free: 412 kB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001866/0.9479, allocations: 44.23 kB / 0.9807 GB, free: 368 kB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.929e-06/0.9479, allocations: 4 kB / 0.9807 GB, free: 364 kB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.316e-05/0.9479, allocations: 8 kB / 0.9807 GB, free: 356 kB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.86e-06/0.9479, allocations: 7.938 kB / 0.9807 GB, free: 348 kB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.9479, allocations: 0 / 0.9807 GB, free: 348 kB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003971/0.9483, allocations: 338.4 kB / 0.9811 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001419/0.9485, allocations: 152.4 kB / 0.9812 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.589e-05/0.9485, allocations: 4 kB / 0.9812 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001643/0.9487, allocations: 8 kB / 0.9812 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.742e-05/0.9488, allocations: 19.86 kB / 0.9812 GB, free: 15.76 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.935e-06/0.9488, allocations: 9.594 kB / 0.9813 GB, free: 15.76 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0005055/0.9493, allocations: 0.4951 MB / 0.9817 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9493, allocations: 4 kB / 0.9817 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003829/0.9497, allocations: 79.91 kB / 0.9818 GB, free: 15.19 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.0003587/0.95, allocations: 134.9 kB / 0.9819 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003356/0.9504, allocations: 112 kB / 0.982 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.9504, allocations: 4.062 kB / 0.9821 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001429/0.9506, allocations: 55.91 kB / 0.9821 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001322/0.9519, allocations: 285 kB / 0.9824 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001278/0.9532, allocations: 0.9476 MB / 0.9833 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004274/0.9536, allocations: 0.8972 MB / 0.9842 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.461e-05/0.9537, allocations: 39.44 kB / 0.9842 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of SimCode: time 4.01e-07/0.9537, allocations: 0 / 0.9842 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of Templates: time 0.01214/0.9658, allocations: 7.786 MB / 0.9918 GB, free: 5.074 MB / 0.7794 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)