Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_T.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_T,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sources_Examples_PropertySource_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sources.Examples.PropertySource_T,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sources_Examples_PropertySource_T",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.0043/0.0043, allocations: 97.98 kB / 15.73 MB, free: 5.602 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.001271/0.001271, allocations: 195.2 kB / 16.68 MB, free: 5.523 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.362/1.362, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002494/0.002494, allocations: 283.8 kB / 290.8 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9973/0.9973, allocations: 169.3 MB / 0.4983 GB, free: 4.418 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002628/0.002628, allocations: 99.84 kB / 0.681 GB, free: 7.461 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3913/0.394, allocations: 86.98 MB / 0.7659 GB, free: 3.859 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.PropertySource_T): time 0.212/0.606, allocations: 194.1 MB / 0.9555 GB, free: 1.008 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.3708/0.9769, allocations: 10.02 MB / 0.9652 GB, free: 1.852 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007231/0.9776, allocations: 30.31 kB / 0.9653 GB, free: 1.852 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.000812/0.9785, allocations: 394.1 kB / 0.9657 GB, free: 1.852 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.002234/0.9807, allocations: 1.029 MB / 0.9667 GB, free: 1.812 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002606/0.9833, allocations: 1.294 MB / 0.9679 GB, free: 1.773 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.00161/0.985, allocations: 1.703 MB / 0.9696 GB, free: 1.766 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009521/0.9859, allocations: 0.8302 MB / 0.9704 GB, free: 1.66 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002543/0.9885, allocations: 1.416 MB / 0.9718 GB, free: 1.641 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005623/0.9891, allocations: 0.5257 MB / 0.9723 GB, free: 1.641 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 8.817e-05/0.9892, allocations: 63.28 kB / 0.9724 GB, free: 1.641 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002056/0.9912, allocations: 1.417 MB / 0.9737 GB, free: 1.625 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002455/0.9915, allocations: 348.5 kB / 0.9741 GB, free: 1.625 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0003485/0.9918, allocations: 437.4 kB / 0.9745 GB, free: 1.625 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001527/0.9934, allocations: 1.527 MB / 0.976 GB, free: 1.531 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.9934, allocations: 5.312 kB / 0.976 GB, free: 1.531 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.282e-06/0.9934, allocations: 0 / 0.976 GB, free: 1.531 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.052e-05/0.9934, allocations: 0.9375 kB / 0.976 GB, free: 1.531 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 189 * Number of variables: 189 Notification: Performance of Generate backend data structure: time 0.001298/0.9947, allocations: 1.168 MB / 0.9771 GB, free: 16.83 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.423e-05/0.9947, allocations: 11.97 kB / 0.9771 GB, free: 16.83 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001089/0.9949, allocations: 129.8 kB / 0.9773 GB, free: 16.79 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001563/0.9964, allocations: 289.9 kB / 0.9775 GB, free: 16.74 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008282/0.9973, allocations: 0.5759 MB / 0.9781 GB, free: 16.46 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.186e-05/0.9973, allocations: 62.56 kB / 0.9782 GB, free: 16.46 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.397e-05/0.9974, allocations: 67.59 kB / 0.9782 GB, free: 16.46 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001115/0.9985, allocations: 0.9038 MB / 0.9791 GB, free: 16.27 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.153e-05/0.9986, allocations: 6.281 kB / 0.9791 GB, free: 16.27 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.056e-05/0.9986, allocations: 31.05 kB / 0.9791 GB, free: 16.27 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.654e-05/0.9987, allocations: 35.16 kB / 0.9792 GB, free: 16.27 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008749/0.9996, allocations: 0.5771 MB / 0.9797 GB, free: 16.27 MB / 0.7325 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003267/1.003, allocations: 3.497 MB / 0.9831 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002995/1.003, allocations: 226 kB / 0.9834 GB, free: 14.02 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001937/1.003, allocations: 145.9 kB / 0.9835 GB, free: 14 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008043/1.004, allocations: 490 kB / 0.984 GB, free: 13.53 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.031e-05/1.004, allocations: 39.12 kB / 0.984 GB, free: 13.49 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=21): time 1.914e-06/1.004, allocations: 2.047 kB / 0.984 GB, free: 13.49 MB / 0.7325 GB Notification: Performance of matching and sorting (n=21): time 0.001114/1.005, allocations: 452.1 kB / 0.9844 GB, free: 13.41 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.544e-05/1.005, allocations: 112.6 kB / 0.9845 GB, free: 13.29 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008146/1.006, allocations: 0.8655 MB / 0.9854 GB, free: 13.14 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.163e-05/1.006, allocations: 28.95 kB / 0.9854 GB, free: 13.11 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002119/1.006, allocations: 383.4 kB / 0.9858 GB, free: 12.97 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.536e-05/1.007, allocations: 82.58 kB / 0.9859 GB, free: 12.92 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.68e-05/1.007, allocations: 60.81 kB / 0.9859 GB, free: 12.9 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001327/1.007, allocations: 318.7 kB / 0.9862 GB, free: 12.59 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001819/1.007, allocations: 109.9 kB / 0.9863 GB, free: 12.59 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002616/1.007, allocations: 212.7 kB / 0.9865 GB, free: 12.49 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004191/1.008, allocations: 305.2 kB / 0.9868 GB, free: 12.39 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/1.008, allocations: 2.906 kB / 0.9868 GB, free: 12.39 MB / 0.7325 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.000578/1.008, allocations: 410.1 kB / 0.9872 GB, free: 12.31 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/1.008, allocations: 7.938 kB / 0.9872 GB, free: 12.31 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/1.008, allocations: 3.5 kB / 0.9872 GB, free: 12.31 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.569e-05/1.008, allocations: 4.812 kB / 0.9872 GB, free: 12.31 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002913/1.009, allocations: 62.91 kB / 0.9873 GB, free: 12.3 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.737e-06/1.009, allocations: 7.375 kB / 0.9873 GB, free: 12.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004514/1.009, allocations: 93.48 kB / 0.9874 GB, free: 12.25 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.959e-05/1.009, allocations: 11.94 kB / 0.9874 GB, free: 12.25 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (32): * Single equations (assignments): 32 * 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.0002342/1.009, allocations: 232.2 kB / 0.9876 GB, free: 12.14 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001291/1.009, allocations: 80.8 kB / 0.9877 GB, free: 12.09 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000522/1.01, allocations: 326.3 kB / 0.988 GB, free: 12.04 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/1.01, allocations: 2.781 kB / 0.988 GB, free: 12.04 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/1.01, allocations: 0.875 kB / 0.988 GB, free: 12.04 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.905e-06/1.01, allocations: 3.938 kB / 0.988 GB, free: 12.04 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001774/1.012, allocations: 1.374 MB / 0.9894 GB, free: 11.44 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.948e-06/1.012, allocations: 2.438 kB / 0.9894 GB, free: 11.44 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001964/1.012, allocations: 51.31 kB / 0.9894 GB, free: 11.44 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.871e-06/1.012, allocations: 4.812 kB / 0.9894 GB, free: 11.44 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.125e-05/1.012, allocations: 10.97 kB / 0.9894 GB, free: 11.44 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.48e-06/1.012, allocations: 8.75 kB / 0.9894 GB, free: 11.44 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.312e-06/1.012, allocations: 12.31 kB / 0.9894 GB, free: 11.43 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005701/1.013, allocations: 0.5089 MB / 0.9899 GB, free: 11.12 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002304/1.013, allocations: 193.8 kB / 0.9901 GB, free: 10.98 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.832e-05/1.013, allocations: 10.59 kB / 0.9901 GB, free: 10.98 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003699/1.013, allocations: 18.03 kB / 0.9902 GB, free: 10.98 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.263e-05/1.013, allocations: 30.81 kB / 0.9902 GB, free: 10.98 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.513e-05/1.013, allocations: 10.19 kB / 0.9902 GB, free: 10.98 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0005892/1.014, allocations: 0.6141 MB / 0.9908 GB, free: 10.89 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.6e-07/1.014, allocations: 4.031 kB / 0.9908 GB, free: 10.89 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000639/1.015, allocations: 162.3 kB / 0.991 GB, free: 10.88 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * 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 (21): * Single equations (assignments): 21 * 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.001153/1.016, allocations: 1.14 MB / 0.9921 GB, free: 10.03 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004583/1.016, allocations: 267.2 kB / 0.9923 GB, free: 10.02 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.277e-06/1.016, allocations: 3.094 kB / 0.9923 GB, free: 10.02 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002102/1.017, allocations: 138.5 kB / 0.9925 GB, free: 10.02 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001678/1.018, allocations: 423.5 kB / 0.9929 GB, free: 9.961 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006394/1.025, allocations: 6.004 MB / 0.9987 GB, free: 7.762 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005386/1.025, allocations: 0.9939 MB / 0.9997 GB, free: 7.062 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0004523/1.026, allocations: 164.2 kB / 0.9999 GB, free: 7.047 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002552/1.026, allocations: 273.3 kB / 1 GB, free: 7.039 MB / 0.7325 GB Notification: Performance of SimCode: time 3.81e-07/1.026, allocations: 0.9375 kB / 1 GB, free: 7.039 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04495/1.071, allocations: 20.78 MB / 1.02 GB, free: 2.527 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.529/9.6, allocations: 10 kB / 1.02 GB, free: 2.52 MB / 0.7325 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_T.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_T.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_T.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_T.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Sources_Examples_PropertySource_T_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Sources_Examples_PropertySource_T.fmu > BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_T.pipe 2>&1)