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.001144/0.001144, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001034/0.001034, allocations: 193.5 kB / 16.14 MB, free: 6.707 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.14/1.14, allocations: 222.9 MB / 239.8 MB, free: 4.633 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001921/0.001921, allocations: 283 kB / 290.2 MB, free: 2.238 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8775/0.8775, allocations: 169.2 MB / 0.4977 GB, free: 14.17 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001569/0.001569, allocations: 89.75 kB / 0.5946 GB, free: 28.35 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1391/0.1407, allocations: 86.98 MB / 0.6795 GB, free: 1.117 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.PropertySource_h): time 0.4253/0.566, allocations: 173.7 MB / 0.8492 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.008405/0.5745, allocations: 8.702 MB / 0.8577 GB, free: 6.777 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004538/0.5749, allocations: 19.62 kB / 0.8577 GB, free: 6.77 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005888/0.5755, allocations: 233 kB / 0.8579 GB, free: 6.57 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0005496/0.5761, allocations: 298.3 kB / 0.8582 GB, free: 6.336 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007182/0.5768, allocations: 341.2 kB / 0.8585 GB, free: 6.086 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00113/0.578, allocations: 1.612 MB / 0.8601 GB, free: 5.207 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005657/0.5785, allocations: 0.5043 MB / 0.8606 GB, free: 4.918 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003549/0.5821, allocations: 1.928 MB / 0.8625 GB, free: 3.641 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003467/0.5825, allocations: 370.9 kB / 0.8628 GB, free: 3.43 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.233e-05/0.5825, allocations: 29.12 kB / 0.8629 GB, free: 3.426 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001614/0.5827, allocations: 67.38 kB / 0.8629 GB, free: 3.406 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002062/0.5829, allocations: 248.9 kB / 0.8632 GB, free: 3.258 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002244/0.5831, allocations: 273.4 kB / 0.8634 GB, free: 3.086 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0004734/0.5836, allocations: 0.5979 MB / 0.864 GB, free: 2.688 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.5836, allocations: 0 / 0.864 GB, free: 2.688 MB / 0.5762 GB Notification: Performance of FrontEnd: time 6.71e-07/0.5836, allocations: 0 / 0.864 GB, free: 2.688 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.853e-06/0.5836, allocations: 1.906 kB / 0.864 GB, free: 2.688 MB / 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.0008783/0.5845, allocations: 0.8246 MB / 0.8648 GB, free: 1.988 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.231e-05/0.5846, allocations: 10.41 kB / 0.8648 GB, free: 1.988 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.722e-05/0.5847, allocations: 98.88 kB / 0.8649 GB, free: 1.902 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.977e-05/0.5848, allocations: 71.75 kB / 0.865 GB, free: 1.863 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004567/0.5852, allocations: 411 kB / 0.8654 GB, free: 1.516 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.745e-05/0.5853, allocations: 44.27 kB / 0.8654 GB, free: 1.496 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.442e-05/0.5853, allocations: 51.06 kB / 0.8655 GB, free: 1.48 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008704/0.5862, allocations: 0.7018 MB / 0.8662 GB, free: 0.9531 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.624e-05/0.5862, allocations: 6.844 kB / 0.8662 GB, free: 0.9492 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.161e-05/0.5863, allocations: 24.83 kB / 0.8662 GB, free: 0.9297 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.272e-05/0.5863, allocations: 34.64 kB / 0.8662 GB, free: 0.918 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005714/0.5869, allocations: 382.7 kB / 0.8666 GB, free: 0.7344 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002256/0.5892, allocations: 3.209 MB / 0.8697 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002354/0.5894, allocations: 226.2 kB / 0.8699 GB, free: 13.49 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001721/0.5896, allocations: 131.7 kB / 0.8701 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 1.423e-05/0.5896, allocations: 6.312 kB / 0.8701 GB, free: 13.37 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.439e-05/0.5896, allocations: 41.22 kB / 0.8701 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=10): time 1.303e-06/0.5896, allocations: 0 / 0.8701 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of matching and sorting (n=10): time 0.000616/0.5903, allocations: 253.9 kB / 0.8704 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000124/0.5904, allocations: 294 kB / 0.8706 GB, free: 12.83 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006495/0.591, allocations: 0.6874 MB / 0.8713 GB, free: 12.44 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.959e-05/0.5911, allocations: 28.48 kB / 0.8713 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000184/0.5913, allocations: 268.7 kB / 0.8716 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.746e-05/0.5913, allocations: 38.22 kB / 0.8716 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.039e-05/0.5914, allocations: 33.8 kB / 0.8717 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001314/0.5915, allocations: 365.9 kB / 0.872 GB, free: 11.76 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001068/0.5916, allocations: 40.14 kB / 0.872 GB, free: 11.74 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001566/0.5918, allocations: 98.92 kB / 0.8721 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002242/0.592, allocations: 127.1 kB / 0.8723 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.592, allocations: 192 / 0.8723 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003097/0.5923, allocations: 186.5 kB / 0.8724 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.5924, allocations: 9.031 kB / 0.8724 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.5924, allocations: 10.19 kB / 0.8725 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.5924, allocations: 6.859 kB / 0.8725 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002204/0.5926, allocations: 40.95 kB / 0.8725 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.227e-06/0.5926, allocations: 6.594 kB / 0.8725 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002144/0.5929, allocations: 67.84 kB / 0.8726 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.083e-05/0.5929, allocations: 6.719 kB / 0.8726 GB, free: 11.39 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.0001792/0.5931, allocations: 199.9 kB / 0.8728 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002076/0.5933, allocations: 59.12 kB / 0.8728 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.206e-05/0.5934, allocations: 65.75 kB / 0.8729 GB, free: 11.15 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.5934, allocations: 2.312 kB / 0.8729 GB, free: 11.15 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.5934, allocations: 2.406 kB / 0.8729 GB, free: 11.15 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.5934, allocations: 5.062 kB / 0.8729 GB, free: 11.15 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001283/0.5947, allocations: 1.306 MB / 0.8742 GB, free: 9.934 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.544e-06/0.5947, allocations: 2.625 kB / 0.8742 GB, free: 9.934 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001884/0.5949, allocations: 43.27 kB / 0.8742 GB, free: 9.918 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.5949, allocations: 2.812 kB / 0.8742 GB, free: 9.918 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.1e-05/0.5949, allocations: 6.812 kB / 0.8742 GB, free: 9.914 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.448e-06/0.5949, allocations: 8.625 kB / 0.8742 GB, free: 9.91 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.005e-06/0.5949, allocations: 4 kB / 0.8742 GB, free: 9.91 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003373/0.5953, allocations: 333.2 kB / 0.8746 GB, free: 9.621 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001417/0.5954, allocations: 151.4 kB / 0.8747 GB, free: 9.477 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.427e-05/0.5955, allocations: 4.812 kB / 0.8747 GB, free: 9.477 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001794/0.5957, allocations: 14.2 kB / 0.8747 GB, free: 9.473 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.877e-05/0.5957, allocations: 20.77 kB / 0.8747 GB, free: 9.457 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.853e-06/0.5957, allocations: 9.188 kB / 0.8747 GB, free: 9.453 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.000458/0.5962, allocations: 0.4922 MB / 0.8752 GB, free: 9.172 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.483e-06/0.5962, allocations: 2.438 kB / 0.8752 GB, free: 9.172 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003497/0.5965, allocations: 84.72 kB / 0.8753 GB, free: 9.16 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.0007369/0.5973, allocations: 0.9076 MB / 0.8762 GB, free: 8.316 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0002655/0.5976, allocations: 101.4 kB / 0.8763 GB, free: 8.273 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.5976, allocations: 0 / 0.8763 GB, free: 8.273 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001345/0.5977, allocations: 65.73 kB / 0.8764 GB, free: 8.242 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001278/0.599, allocations: 273.1 kB / 0.8766 GB, free: 8.117 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004916/0.6039, allocations: 4.679 MB / 0.8812 GB, free: 4.969 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000424/0.6044, allocations: 0.9002 MB / 0.8821 GB, free: 4.172 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002512/0.6046, allocations: 111.2 kB / 0.8822 GB, free: 4.121 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001718/0.6048, allocations: 171.8 kB / 0.8823 GB, free: 3.98 MB / 0.5919 GB Notification: Performance of SimCode: time 1.854e-06/0.6048, allocations: 0 / 0.8823 GB, free: 3.98 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02419/0.629, allocations: 12.98 MB / 0.895 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002218/0.6293, allocations: 253.8 kB / 0.8953 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.813/2.442, allocations: 2.391 kB / 0.8953 GB, free: 10.39 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)