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.001054/0.001054, 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.001064/0.001064, allocations: 186.6 kB / 16.25 MB, free: 6.637 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.318/1.318, allocations: 222.9 MB / 239.9 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002017/0.002017, allocations: 290.8 kB / 290.3 MB, free: 2.125 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9445/0.9445, allocations: 169.2 MB / 0.4978 GB, free: 14.07 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001609/0.001609, allocations: 91.86 kB / 0.5948 GB, free: 28.56 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1418/0.1434, allocations: 86.98 MB / 0.6797 GB, free: 0.957 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.PropertySource_h): time 0.4231/0.5666, allocations: 173.6 MB / 0.8493 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.009485/0.5761, allocations: 8.641 MB / 0.8577 GB, free: 6.953 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007664/0.5769, allocations: 18.75 kB / 0.8577 GB, free: 6.945 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.000758/0.5777, allocations: 250.1 kB / 0.858 GB, free: 6.73 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0007101/0.5785, allocations: 284.2 kB / 0.8583 GB, free: 6.508 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009431/0.5794, allocations: 339.2 kB / 0.8586 GB, free: 6.262 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001006/0.5804, allocations: 1.154 MB / 0.8597 GB, free: 5.605 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006905/0.5811, allocations: 0.5512 MB / 0.8602 GB, free: 5.289 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004048/0.5852, allocations: 1.996 MB / 0.8622 GB, free: 3.977 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003853/0.5856, allocations: 377 kB / 0.8626 GB, free: 3.754 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.483e-05/0.5856, allocations: 40.56 kB / 0.8626 GB, free: 3.754 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001637/0.5858, allocations: 84.12 kB / 0.8627 GB, free: 3.73 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000206/0.586, allocations: 265.1 kB / 0.8629 GB, free: 3.566 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002306/0.5863, allocations: 281 kB / 0.8632 GB, free: 3.387 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0005532/0.5868, allocations: 0.6238 MB / 0.8638 GB, free: 2.977 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.5868, allocations: 3.984 kB / 0.8638 GB, free: 2.973 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.232e-06/0.5868, allocations: 0 / 0.8638 GB, free: 2.973 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.646e-06/0.5869, allocations: 0 / 0.8638 GB, free: 2.973 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.0009614/0.5878, allocations: 0.8203 MB / 0.8646 GB, free: 2.277 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.456e-05/0.5879, allocations: 9.656 kB / 0.8646 GB, free: 2.277 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.143e-05/0.588, allocations: 99.33 kB / 0.8647 GB, free: 2.191 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.733e-05/0.5881, allocations: 67.53 kB / 0.8648 GB, free: 2.156 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004752/0.5885, allocations: 411.4 kB / 0.8652 GB, free: 1.809 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.077e-05/0.5886, allocations: 43.95 kB / 0.8652 GB, free: 1.789 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.818e-05/0.5887, allocations: 51.25 kB / 0.8653 GB, free: 1.773 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009432/0.5896, allocations: 0.7092 MB / 0.866 GB, free: 1.238 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.74e-05/0.5896, allocations: 2.469 kB / 0.866 GB, free: 1.238 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001158/0.5898, allocations: 22.97 kB / 0.866 GB, free: 1.223 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.725e-05/0.5898, allocations: 38.05 kB / 0.866 GB, free: 1.207 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005718/0.5904, allocations: 373.7 kB / 0.8664 GB, free: 1.031 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002358/0.5927, allocations: 3.221 MB / 0.8695 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002941/0.5931, allocations: 224 kB / 0.8697 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001818/0.5932, allocations: 129.9 kB / 0.8699 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 1.612e-05/0.5933, allocations: 7.938 kB / 0.8699 GB, free: 13.65 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.72e-05/0.5933, allocations: 43.38 kB / 0.8699 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=10): time 1.393e-06/0.5933, allocations: 0 / 0.8699 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of matching and sorting (n=10): time 0.0006474/0.594, allocations: 253.6 kB / 0.8701 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001117/0.5941, allocations: 290.7 kB / 0.8704 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007093/0.5948, allocations: 0.6905 MB / 0.8711 GB, free: 12.72 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.228e-05/0.5948, allocations: 36.33 kB / 0.8711 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001952/0.595, allocations: 264.8 kB / 0.8714 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.34e-05/0.5951, allocations: 30.27 kB / 0.8714 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.973e-05/0.5951, allocations: 30.38 kB / 0.8714 GB, free: 12.4 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001546/0.5953, allocations: 369.4 kB / 0.8718 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001077/0.5954, allocations: 32.56 kB / 0.8718 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001505/0.5956, allocations: 99.12 kB / 0.8719 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002201/0.5958, allocations: 130.7 kB / 0.872 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.5958, allocations: 0 / 0.872 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003213/0.5961, allocations: 190.9 kB / 0.8722 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.25e-05/0.5962, allocations: 8.906 kB / 0.8722 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.5962, allocations: 5.188 kB / 0.8722 GB, free: 11.74 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.093e-05/0.5962, allocations: 2.438 kB / 0.8722 GB, free: 11.74 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002072/0.5964, allocations: 39.92 kB / 0.8723 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.5964, allocations: 2.781 kB / 0.8723 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002184/0.5966, allocations: 58.92 kB / 0.8723 GB, free: 11.69 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.292e-05/0.5967, allocations: 15.77 kB / 0.8724 GB, free: 11.68 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.0001855/0.5969, allocations: 201.4 kB / 0.8725 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002017/0.5971, allocations: 61.06 kB / 0.8726 GB, free: 11.49 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.527e-05/0.5971, allocations: 65.34 kB / 0.8727 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.5972, allocations: 2.812 kB / 0.8727 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.5972, allocations: 2.188 kB / 0.8727 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.5972, allocations: 2.5 kB / 0.8727 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001347/0.5985, allocations: 1.306 MB / 0.8739 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.5985, allocations: 6.781 kB / 0.874 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001845/0.5987, allocations: 39.3 kB / 0.874 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.009e-06/0.5987, allocations: 2.391 kB / 0.874 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.124e-05/0.5988, allocations: 10.81 kB / 0.874 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.5988, allocations: 2.656 kB / 0.874 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.518e-06/0.5988, allocations: 8.25 kB / 0.874 GB, free: 10.2 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003662/0.5991, allocations: 338.4 kB / 0.8743 GB, free: 9.91 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001322/0.5993, allocations: 147.3 kB / 0.8745 GB, free: 9.77 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.93e-05/0.5993, allocations: 2.875 kB / 0.8745 GB, free: 9.77 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001944/0.5996, allocations: 22.02 kB / 0.8745 GB, free: 9.758 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.136e-05/0.5996, allocations: 20.89 kB / 0.8745 GB, free: 9.742 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.663e-06/0.5996, allocations: 4.656 kB / 0.8745 GB, free: 9.742 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0005832/0.6002, allocations: 0.4953 MB / 0.875 GB, free: 9.465 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6002, allocations: 0 / 0.875 GB, free: 9.465 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003558/0.6006, allocations: 84.5 kB / 0.8751 GB, free: 9.453 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.0007881/0.6014, allocations: 0.9124 MB / 0.876 GB, free: 8.609 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0002967/0.6017, allocations: 105.7 kB / 0.8761 GB, free: 8.562 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.6017, allocations: 384 / 0.8761 GB, free: 8.562 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001337/0.6018, allocations: 61.17 kB / 0.8761 GB, free: 8.535 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001267/0.6031, allocations: 281.1 kB / 0.8764 GB, free: 8.402 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005099/0.6082, allocations: 4.688 MB / 0.881 GB, free: 5.25 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005301/0.6087, allocations: 0.9054 MB / 0.8819 GB, free: 4.449 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002387/0.609, allocations: 105.8 kB / 0.882 GB, free: 4.406 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001827/0.6092, allocations: 174.6 kB / 0.8821 GB, free: 4.262 MB / 0.5919 GB Notification: Performance of SimCode: time 2.91e-07/0.6092, allocations: 1.812 kB / 0.8821 GB, free: 4.262 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02455/0.6337, allocations: 13.3 MB / 0.8951 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002202/0.634, allocations: 262.7 kB / 0.8954 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.002/2.636, allocations: 0 / 0.8954 GB, free: 10.36 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)