Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Fluid.Sources.Examples.PropertySource_h,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sources_Examples_PropertySource_h",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sources.Examples.PropertySource_h,fileNamePrefix="BuildingSystems_BuildingSystems_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.001121/0.001121, 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.001099/0.001099, allocations: 192.8 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.252/1.252, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002072/0.002072, allocations: 298.9 kB / 290.7 MB, free: 2 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9072/0.9072, allocations: 169.3 MB / 0.4982 GB, free: 13.85 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001682/0.001682, allocations: 96.56 kB / 0.5953 GB, free: 27.72 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1332/0.1349, allocations: 86.98 MB / 0.6803 GB, free: 0.5742 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.PropertySource_h): time 0.4276/0.5625, allocations: 176 MB / 0.8521 GB, free: 11.69 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.008932/0.5715, allocations: 8.709 MB / 0.8606 GB, free: 4.617 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006945/0.5722, allocations: 20.84 kB / 0.8607 GB, free: 4.609 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0007655/0.573, allocations: 304.9 kB / 0.8609 GB, free: 4.344 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0006781/0.5737, allocations: 304.6 kB / 0.8612 GB, free: 4.098 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008786/0.5746, allocations: 371.5 kB / 0.8616 GB, free: 3.816 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001006/0.5756, allocations: 1.145 MB / 0.8627 GB, free: 3.168 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000705/0.5763, allocations: 0.5839 MB / 0.8633 GB, free: 2.836 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004135/0.5805, allocations: 2.068 MB / 0.8653 GB, free: 1.438 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003708/0.5809, allocations: 345.9 kB / 0.8656 GB, free: 1.23 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.747e-05/0.5809, allocations: 40.19 kB / 0.8657 GB, free: 1.23 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001818/0.5811, allocations: 82.03 kB / 0.8657 GB, free: 1.207 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002018/0.5813, allocations: 265 kB / 0.866 GB, free: 1.043 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002293/0.5816, allocations: 281.2 kB / 0.8663 GB, free: 0.8633 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0005298/0.5821, allocations: 0.6234 MB / 0.8669 GB, free: 464 kB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.5821, allocations: 0 / 0.8669 GB, free: 464 kB / 0.5762 GB Notification: Performance of FrontEnd: time 1.183e-06/0.5821, allocations: 0 / 0.8669 GB, free: 464 kB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.646e-06/0.5821, allocations: 0 / 0.8669 GB, free: 464 kB / 0.5762 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.0008739/0.583, allocations: 0.825 MB / 0.8677 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.377e-05/0.5831, allocations: 9.625 kB / 0.8677 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.188e-05/0.5831, allocations: 98.42 kB / 0.8678 GB, free: 15.67 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.066e-05/0.5832, allocations: 69.09 kB / 0.8678 GB, free: 15.63 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004607/0.5837, allocations: 418.9 kB / 0.8682 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.008e-05/0.5837, allocations: 44.36 kB / 0.8683 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.535e-05/0.5838, allocations: 51.16 kB / 0.8683 GB, free: 15.24 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008461/0.5847, allocations: 0.7057 MB / 0.869 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.488e-05/0.5847, allocations: 2.094 kB / 0.869 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.955e-05/0.5847, allocations: 23.81 kB / 0.8691 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.613e-05/0.5848, allocations: 36.48 kB / 0.8691 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005543/0.5853, allocations: 379 kB / 0.8694 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002073/0.5874, allocations: 3.231 MB / 0.8726 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002164/0.5876, allocations: 219.9 kB / 0.8728 GB, free: 11.24 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001723/0.5878, allocations: 129.3 kB / 0.8729 GB, free: 11.13 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 1.183e-05/0.5878, allocations: 6.781 kB / 0.8729 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.564e-05/0.5879, allocations: 44.58 kB / 0.873 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=10): time 1.333e-06/0.5879, allocations: 4 kB / 0.873 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of matching and sorting (n=10): time 0.000616/0.5885, allocations: 251.5 kB / 0.8732 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.83e-05/0.5886, allocations: 292.8 kB / 0.8735 GB, free: 10.58 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006184/0.5892, allocations: 0.6873 MB / 0.8742 GB, free: 10.19 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.784e-05/0.5893, allocations: 32.48 kB / 0.8742 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001693/0.5894, allocations: 264.7 kB / 0.8745 GB, free: 9.926 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 2.841e-05/0.5895, allocations: 26.31 kB / 0.8745 GB, free: 9.902 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.829e-05/0.5895, allocations: 37.8 kB / 0.8745 GB, free: 9.871 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001188/0.5897, allocations: 369.9 kB / 0.8749 GB, free: 9.516 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001018/0.5898, allocations: 36.16 kB / 0.8749 GB, free: 9.5 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000148/0.5899, allocations: 100.5 kB / 0.875 GB, free: 9.422 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002284/0.5901, allocations: 127.1 kB / 0.8751 GB, free: 9.328 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.5902, allocations: 0 / 0.8751 GB, free: 9.328 MB / 0.5919 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003084/0.5905, allocations: 194.6 kB / 0.8753 GB, free: 9.215 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.232e-05/0.5905, allocations: 4.938 kB / 0.8753 GB, free: 9.215 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.5905, allocations: 3.938 kB / 0.8753 GB, free: 9.211 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.5905, allocations: 2.594 kB / 0.8753 GB, free: 9.211 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002005/0.5907, allocations: 39.48 kB / 0.8754 GB, free: 9.199 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.605e-06/0.5907, allocations: 6.688 kB / 0.8754 GB, free: 9.195 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001808/0.5909, allocations: 57.83 kB / 0.8754 GB, free: 9.152 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.907e-05/0.591, allocations: 12.06 kB / 0.8754 GB, free: 9.148 MB / 0.5919 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.0001665/0.5911, allocations: 199.2 kB / 0.8756 GB, free: 8.988 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001997/0.5913, allocations: 55.16 kB / 0.8757 GB, free: 8.961 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.975e-05/0.5914, allocations: 65.44 kB / 0.8757 GB, free: 8.918 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/0.5914, allocations: 5.5 kB / 0.8757 GB, free: 8.918 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.5914, allocations: 0 / 0.8757 GB, free: 8.918 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.5914, allocations: 8.562 kB / 0.8758 GB, free: 8.914 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001204/0.5926, allocations: 1.303 MB / 0.877 GB, free: 7.699 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.5927, allocations: 3.188 kB / 0.877 GB, free: 7.699 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001781/0.5928, allocations: 43.52 kB / 0.8771 GB, free: 7.684 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.5929, allocations: 2.406 kB / 0.8771 GB, free: 7.684 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.134e-05/0.5929, allocations: 9.25 kB / 0.8771 GB, free: 7.68 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.867e-06/0.5929, allocations: 2.562 kB / 0.8771 GB, free: 7.68 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.5929, allocations: 6.281 kB / 0.8771 GB, free: 7.676 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003369/0.5932, allocations: 337.5 kB / 0.8774 GB, free: 7.383 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001254/0.5934, allocations: 147.3 kB / 0.8776 GB, free: 7.242 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.279e-05/0.5934, allocations: 4.438 kB / 0.8776 GB, free: 7.242 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001602/0.5936, allocations: 13.27 kB / 0.8776 GB, free: 7.234 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.156e-05/0.5936, allocations: 19.52 kB / 0.8776 GB, free: 7.223 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.581e-06/0.5936, allocations: 2.75 kB / 0.8776 GB, free: 7.223 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004606/0.5941, allocations: 0.4986 MB / 0.8781 GB, free: 6.941 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5941, allocations: 0 / 0.8781 GB, free: 6.941 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003388/0.5945, allocations: 84.91 kB / 0.8782 GB, free: 6.93 MB / 0.5919 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.0007266/0.5952, allocations: 0.9135 MB / 0.8791 GB, free: 6.086 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0002787/0.5955, allocations: 109.3 kB / 0.8792 GB, free: 6.035 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.5955, allocations: 0 / 0.8792 GB, free: 6.035 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.000128/0.5956, allocations: 60.09 kB / 0.8792 GB, free: 6.012 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00123/0.5969, allocations: 287.8 kB / 0.8795 GB, free: 5.871 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004474/0.6013, allocations: 4.59 MB / 0.884 GB, free: 2.836 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003726/0.6017, allocations: 0.9024 MB / 0.8849 GB, free: 2.039 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002513/0.602, allocations: 99.88 kB / 0.8849 GB, free: 2.004 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001774/0.6022, allocations: 171.4 kB / 0.8851 GB, free: 1.863 MB / 0.5919 GB Notification: Performance of SimCode: time 2.41e-07/0.6022, allocations: 7.938 kB / 0.8851 GB, free: 1.855 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05038/0.6526, allocations: 13.48 MB / 0.8983 GB, free: 7.438 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.21/7.863, allocations: 21.36 kB / 0.8983 GB, free: 7.418 MB / 0.6075 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_h.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_h.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_h.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_h.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Sources_Examples_PropertySource_h_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Sources_Examples_PropertySource_h.fmu > BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_h.pipe 2>&1)