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.0009946/0.0009946, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.0009788/0.0009788, allocations: 199.3 kB / 16.14 MB, free: 6.664 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.165/1.165, allocations: 205.1 MB / 222 MB, free: 4.746 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.56/1.56, allocations: 292.3 MB / 0.5484 GB, free: 13.63 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.001235/0.001235, allocations: 67.44 kB / 0.6709 GB, free: 26.16 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1592/0.1604, allocations: 114.5 MB / 0.7828 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_h): time 0.4466/0.6071, allocations: 173.8 MB / 0.9525 GB, free: 5.586 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.007109/0.6143, allocations: 8.687 MB / 0.9609 GB, free: 5.402 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004584/0.6147, allocations: 18.53 kB / 0.961 GB, free: 5.402 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0005571/0.6154, allocations: 238.1 kB / 0.9612 GB, free: 5.402 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0005089/0.6159, allocations: 295.5 kB / 0.9615 GB, free: 5.383 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006994/0.6166, allocations: 334.6 kB / 0.9618 GB, free: 5.379 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001529/0.6181, allocations: 1.616 MB / 0.9634 GB, free: 5.375 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005885/0.6187, allocations: 0.5062 MB / 0.9639 GB, free: 5.293 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003369/0.6221, allocations: 1.926 MB / 0.9657 GB, free: 5.223 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003554/0.6225, allocations: 381.6 kB / 0.9661 GB, free: 5.215 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 5.712e-05/0.6225, allocations: 27.78 kB / 0.9661 GB, free: 5.215 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001763/0.6227, allocations: 69.42 kB / 0.9662 GB, free: 5.211 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001875/0.6229, allocations: 245.3 kB / 0.9664 GB, free: 5.207 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0002359/0.6232, allocations: 274.3 kB / 0.9667 GB, free: 5.207 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0004264/0.6236, allocations: 0.599 MB / 0.9673 GB, free: 5.121 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.6236, allocations: 0 / 0.9673 GB, free: 5.121 MB / 0.7325 GB Notification: Performance of FrontEnd: time 7.32e-07/0.6236, allocations: 0 / 0.9673 GB, free: 5.121 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.954e-06/0.6236, allocations: 0 / 0.9673 GB, free: 5.121 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.0009495/0.6246, allocations: 0.8248 MB / 0.9681 GB, free: 20.58 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.316e-05/0.6246, allocations: 9.219 kB / 0.9681 GB, free: 20.58 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.136e-05/0.6247, allocations: 99.61 kB / 0.9682 GB, free: 20.54 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.392e-05/0.6248, allocations: 71.66 kB / 0.9683 GB, free: 20.5 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004134/0.6252, allocations: 410.6 kB / 0.9687 GB, free: 20.25 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.531e-05/0.6252, allocations: 41.38 kB / 0.9687 GB, free: 20.25 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.695e-05/0.6253, allocations: 56.53 kB / 0.9687 GB, free: 20.25 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007948/0.6261, allocations: 0.7035 MB / 0.9694 GB, free: 19.99 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.581e-05/0.6261, allocations: 4.875 kB / 0.9694 GB, free: 19.99 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.423e-05/0.6262, allocations: 22.58 kB / 0.9695 GB, free: 19.99 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-05/0.6262, allocations: 39.39 kB / 0.9695 GB, free: 19.98 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000531/0.6268, allocations: 372.6 kB / 0.9699 GB, free: 19.98 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001881/0.6287, allocations: 3.23 MB / 0.973 GB, free: 17.57 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000161/0.6288, allocations: 219.9 kB / 0.9732 GB, free: 17.32 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001428/0.629, allocations: 123.1 kB / 0.9733 GB, free: 17.25 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 1.336e-05/0.629, allocations: 12.03 kB / 0.9733 GB, free: 17.24 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.395e-05/0.629, allocations: 44.7 kB / 0.9734 GB, free: 17.2 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=10): time 1.283e-06/0.629, allocations: 4 kB / 0.9734 GB, free: 17.2 MB / 0.7481 GB Notification: Performance of matching and sorting (n=10): time 0.0005871/0.6296, allocations: 246.1 kB / 0.9736 GB, free: 17.14 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.815e-05/0.6297, allocations: 293.7 kB / 0.9739 GB, free: 16.79 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005955/0.6303, allocations: 0.6845 MB / 0.9746 GB, free: 16.66 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 1.812e-05/0.6304, allocations: 30.58 kB / 0.9746 GB, free: 16.63 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001489/0.6305, allocations: 266.3 kB / 0.9749 GB, free: 16.54 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 2.473e-05/0.6305, allocations: 35.98 kB / 0.9749 GB, free: 16.52 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.187e-05/0.6306, allocations: 31.41 kB / 0.9749 GB, free: 16.5 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001105/0.6307, allocations: 369.1 kB / 0.9753 GB, free: 16.19 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.926e-05/0.6308, allocations: 41.14 kB / 0.9753 GB, free: 16.18 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001286/0.6309, allocations: 93.8 kB / 0.9754 GB, free: 16.14 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001932/0.6311, allocations: 129 kB / 0.9755 GB, free: 16.09 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.6312, allocations: 192 / 0.9755 GB, free: 16.09 MB / 0.7481 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002896/0.6314, allocations: 188.1 kB / 0.9757 GB, free: 16.02 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/0.6315, allocations: 12.25 kB / 0.9757 GB, free: 16.02 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.139e-06/0.6315, allocations: 5.312 kB / 0.9757 GB, free: 16.02 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.088e-05/0.6315, allocations: 1.438 kB / 0.9757 GB, free: 16.02 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001984/0.6317, allocations: 43.77 kB / 0.9758 GB, free: 16.02 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.693e-06/0.6317, allocations: 6.172 kB / 0.9758 GB, free: 16.02 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001924/0.6319, allocations: 63.36 kB / 0.9758 GB, free: 15.98 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.96e-05/0.6319, allocations: 14.14 kB / 0.9758 GB, free: 15.98 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.0001585/0.6321, allocations: 194.5 kB / 0.976 GB, free: 15.86 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001894/0.6323, allocations: 59.08 kB / 0.9761 GB, free: 15.84 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.514e-05/0.6324, allocations: 64.73 kB / 0.9761 GB, free: 15.82 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.506e-06/0.6324, allocations: 2.406 kB / 0.9762 GB, free: 15.82 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.6324, allocations: 3.438 kB / 0.9762 GB, free: 15.82 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.6324, allocations: 2.156 kB / 0.9762 GB, free: 15.82 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001096/0.6335, allocations: 1.307 MB / 0.9774 GB, free: 14.84 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.025e-06/0.6335, allocations: 7.156 kB / 0.9774 GB, free: 14.83 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001741/0.6337, allocations: 44.84 kB / 0.9775 GB, free: 14.83 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.6337, allocations: 3.406 kB / 0.9775 GB, free: 14.83 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.018e-05/0.6337, allocations: 5.469 kB / 0.9775 GB, free: 14.83 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/0.6337, allocations: 2.562 kB / 0.9775 GB, free: 14.83 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.6337, allocations: 8.547 kB / 0.9775 GB, free: 14.83 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003007/0.634, allocations: 340.3 kB / 0.9778 GB, free: 14.59 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001233/0.6342, allocations: 145.5 kB / 0.978 GB, free: 14.46 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.759e-05/0.6342, allocations: 7.188 kB / 0.978 GB, free: 14.46 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001778/0.6344, allocations: 15.8 kB / 0.978 GB, free: 14.46 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.781e-05/0.6344, allocations: 22.19 kB / 0.978 GB, free: 14.46 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.303e-06/0.6345, allocations: 5.094 kB / 0.978 GB, free: 14.46 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0004383/0.6349, allocations: 0.4949 MB / 0.9785 GB, free: 14.36 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6349, allocations: 0 / 0.9785 GB, free: 14.36 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003394/0.6353, allocations: 85.06 kB / 0.9786 GB, free: 14.36 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.0006642/0.6359, allocations: 0.901 MB / 0.9795 GB, free: 13.58 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0002587/0.6362, allocations: 104.4 kB / 0.9796 GB, free: 13.58 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.6362, allocations: 4.062 kB / 0.9796 GB, free: 13.57 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001247/0.6363, allocations: 60.47 kB / 0.9796 GB, free: 13.57 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001114/0.6375, allocations: 269.4 kB / 0.9799 GB, free: 13.55 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004335/0.6418, allocations: 4.676 MB / 0.9844 GB, free: 11.5 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003635/0.6422, allocations: 0.9096 MB / 0.9853 GB, free: 10.79 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0002181/0.6424, allocations: 107.4 kB / 0.9854 GB, free: 10.78 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001406/0.6425, allocations: 171.3 kB / 0.9856 GB, free: 10.77 MB / 0.7481 GB Notification: Performance of SimCode: time 2.2e-07/0.6425, allocations: 0 / 0.9856 GB, free: 10.77 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.052/2.695, allocations: 12.97 MB / 0.9983 GB, free: 7.883 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002594/2.695, allocations: 238.1 kB / 0.9985 GB, free: 7.629 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.21/4.905, allocations: 3.25 kB / 0.9985 GB, free: 7.629 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)