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: "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.PropertySource_h,fileNamePrefix="Buildings_8_Buildings_Fluid_Sources_Examples_PropertySource_h",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.PropertySource_h,fileNamePrefix="Buildings_8_Buildings_Fluid_Sources_Examples_PropertySource_h",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001453/0.001454, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001735/0.001735, allocations: 194 kB / 16.25 MB, free: 6.633 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.271/1.271, allocations: 205.1 MB / 222.1 MB, free: 4.699 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.54/1.54, allocations: 292.3 MB / 0.5486 GB, free: 13.64 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.001359/0.001359, allocations: 66.88 kB / 0.6711 GB, free: 26.24 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1673/0.1687, allocations: 114.6 MB / 0.783 GB, free: 13.82 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_h): time 0.4755/0.6442, allocations: 173.6 MB / 0.9525 GB, free: 5.832 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.008298/0.6525, allocations: 8.62 MB / 0.961 GB, free: 5.66 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007407/0.6533, allocations: 17.72 kB / 0.961 GB, free: 5.66 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0006928/0.654, allocations: 254.5 kB / 0.9612 GB, free: 5.66 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0007582/0.6548, allocations: 284.9 kB / 0.9615 GB, free: 5.641 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008979/0.6557, allocations: 341.4 kB / 0.9618 GB, free: 5.629 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001422/0.6572, allocations: 1.156 MB / 0.9629 GB, free: 5.621 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008777/0.658, allocations: 0.5526 MB / 0.9635 GB, free: 5.539 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004002/0.6621, allocations: 2.003 MB / 0.9654 GB, free: 5.465 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005087/0.6626, allocations: 372.7 kB / 0.9658 GB, free: 5.465 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 8.771e-05/0.6627, allocations: 41 kB / 0.9658 GB, free: 5.465 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002424/0.6629, allocations: 83.34 kB / 0.9659 GB, free: 5.461 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0002493/0.6632, allocations: 255.4 kB / 0.9662 GB, free: 5.461 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0003617/0.6635, allocations: 282.2 kB / 0.9664 GB, free: 5.461 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0005983/0.6641, allocations: 0.6224 MB / 0.967 GB, free: 5.375 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.6642, allocations: 1.406 kB / 0.967 GB, free: 5.375 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.222e-06/0.6642, allocations: 0 / 0.967 GB, free: 5.375 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 2.022e-05/0.6642, allocations: 4 kB / 0.967 GB, free: 5.371 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.001185/0.6654, allocations: 0.8258 MB / 0.9678 GB, free: 20.83 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.622e-05/0.6654, allocations: 9.25 kB / 0.9679 GB, free: 20.83 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.349e-05/0.6655, allocations: 94.59 kB / 0.9679 GB, free: 20.79 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001221/0.6657, allocations: 72.25 kB / 0.968 GB, free: 20.75 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004935/0.6662, allocations: 417.2 kB / 0.9684 GB, free: 20.5 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.935e-05/0.6662, allocations: 45.39 kB / 0.9685 GB, free: 20.5 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.513e-05/0.6663, allocations: 53.31 kB / 0.9685 GB, free: 20.5 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008928/0.6672, allocations: 0.7029 MB / 0.9692 GB, free: 20.24 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.933e-05/0.6672, allocations: 6.062 kB / 0.9692 GB, free: 20.24 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.28e-05/0.6672, allocations: 24.81 kB / 0.9692 GB, free: 20.24 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.727e-05/0.6673, allocations: 34.44 kB / 0.9693 GB, free: 20.23 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005837/0.6679, allocations: 377.2 kB / 0.9696 GB, free: 20.23 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002305/0.6702, allocations: 3.231 MB / 0.9728 GB, free: 17.81 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001684/0.6704, allocations: 221.9 kB / 0.973 GB, free: 17.57 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001501/0.6705, allocations: 132.9 kB / 0.9731 GB, free: 17.49 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 1.188e-05/0.6706, allocations: 4.375 kB / 0.9731 GB, free: 17.49 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.718e-05/0.6706, allocations: 47.12 kB / 0.9732 GB, free: 17.45 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=10): time 1.482e-06/0.6706, allocations: 0 / 0.9732 GB, free: 17.45 MB / 0.7481 GB Notification: Performance of matching and sorting (n=10): time 0.0006374/0.6712, allocations: 250.6 kB / 0.9734 GB, free: 17.38 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001176/0.6714, allocations: 292 kB / 0.9737 GB, free: 17.04 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006617/0.672, allocations: 0.6856 MB / 0.9743 GB, free: 16.91 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.381e-05/0.6721, allocations: 27.2 kB / 0.9744 GB, free: 16.88 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001555/0.6722, allocations: 269.1 kB / 0.9746 GB, free: 16.79 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 2.777e-05/0.6723, allocations: 34.86 kB / 0.9747 GB, free: 16.76 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.477e-05/0.6723, allocations: 34.56 kB / 0.9747 GB, free: 16.74 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.000132/0.6724, allocations: 370.5 kB / 0.975 GB, free: 16.43 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001007/0.6726, allocations: 36.02 kB / 0.9751 GB, free: 16.43 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001357/0.6727, allocations: 94.78 kB / 0.9752 GB, free: 16.38 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002034/0.6729, allocations: 128.6 kB / 0.9753 GB, free: 16.33 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.6729, allocations: 192 / 0.9753 GB, free: 16.33 MB / 0.7481 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000315/0.6732, allocations: 191.6 kB / 0.9755 GB, free: 16.27 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/0.6733, allocations: 11.56 kB / 0.9755 GB, free: 16.26 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.6733, allocations: 5.281 kB / 0.9755 GB, free: 16.26 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.167e-05/0.6733, allocations: 2.469 kB / 0.9755 GB, free: 16.26 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001981/0.6735, allocations: 41.2 kB / 0.9755 GB, free: 16.26 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.174e-06/0.6735, allocations: 8.25 kB / 0.9755 GB, free: 16.25 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002188/0.6737, allocations: 62.48 kB / 0.9756 GB, free: 16.22 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.145e-05/0.6738, allocations: 10.75 kB / 0.9756 GB, free: 16.22 MB / 0.7481 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.0001753/0.6739, allocations: 198.8 kB / 0.9758 GB, free: 16.11 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001935/0.6741, allocations: 59 kB / 0.9759 GB, free: 16.08 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.089e-05/0.6742, allocations: 60.44 kB / 0.9759 GB, free: 16.06 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/0.6742, allocations: 7.531 kB / 0.9759 GB, free: 16.06 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.6742, allocations: 3.688 kB / 0.9759 GB, free: 16.06 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.6742, allocations: 2.938 kB / 0.9759 GB, free: 16.06 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00119/0.6754, allocations: 1.302 MB / 0.9772 GB, free: 15.08 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.6755, allocations: 3.5 kB / 0.9772 GB, free: 15.08 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001721/0.6756, allocations: 41.5 kB / 0.9772 GB, free: 15.08 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.6756, allocations: 3.156 kB / 0.9772 GB, free: 15.08 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.121e-05/0.6757, allocations: 6.859 kB / 0.9773 GB, free: 15.08 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.978e-06/0.6757, allocations: 8.188 kB / 0.9773 GB, free: 15.08 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.6757, allocations: 5.156 kB / 0.9773 GB, free: 15.08 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000327/0.676, allocations: 340.9 kB / 0.9776 GB, free: 14.84 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000137/0.6762, allocations: 149.1 kB / 0.9777 GB, free: 14.71 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.938e-05/0.6762, allocations: 6.469 kB / 0.9777 GB, free: 14.71 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001835/0.6764, allocations: 16.64 kB / 0.9778 GB, free: 14.71 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.106e-05/0.6765, allocations: 17.48 kB / 0.9778 GB, free: 14.7 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.664e-06/0.6765, allocations: 5.469 kB / 0.9778 GB, free: 14.7 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0004732/0.6769, allocations: 0.4949 MB / 0.9783 GB, free: 14.61 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.1e-07/0.677, allocations: 0 / 0.9783 GB, free: 14.61 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.000362/0.6773, allocations: 80.59 kB / 0.9783 GB, free: 14.61 MB / 0.7481 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.0007105/0.678, allocations: 0.9184 MB / 0.9792 GB, free: 13.82 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0002718/0.6783, allocations: 108.9 kB / 0.9793 GB, free: 13.82 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.6783, allocations: 1.156 kB / 0.9793 GB, free: 13.82 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001233/0.6785, allocations: 62.91 kB / 0.9794 GB, free: 13.82 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001204/0.6797, allocations: 275 kB / 0.9797 GB, free: 13.78 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004701/0.6844, allocations: 4.669 MB / 0.9842 GB, free: 11.73 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003829/0.6848, allocations: 0.9065 MB / 0.9851 GB, free: 11.02 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0002543/0.685, allocations: 99.45 kB / 0.9852 GB, free: 11.01 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001503/0.6852, allocations: 172.4 kB / 0.9854 GB, free: 11 MB / 0.7481 GB Notification: Performance of SimCode: time 2.8e-07/0.6852, allocations: 3.969 kB / 0.9854 GB, free: 11 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9553/1.64, allocations: 13.29 MB / 0.9984 GB, free: 8.637 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002768/1.641, allocations: 237.8 kB / 0.9986 GB, free: 8.383 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.218/3.858, allocations: 0 / 0.9986 GB, free: 8.383 MB / 0.7481 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Sources_Examples_PropertySource_h_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Sources_Examples_PropertySource_h.fmu > Buildings_8_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe 2>&1)