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.005766/0.005766, allocations: 103.5 kB / 15.73 MB, free: 6.004 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.001256/0.001257, allocations: 191.8 kB / 16.67 MB, free: 5.93 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.265/1.265, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00221/0.00221, allocations: 286.5 kB / 290.8 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8834/0.8834, allocations: 169.3 MB / 0.4983 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002234/0.002234, allocations: 104.1 kB / 0.681 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4496/0.4518, allocations: 86.96 MB / 0.7659 GB, free: 10.04 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.PropertySource_T): time 0.201/0.6528, allocations: 194.1 MB / 0.9554 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01202/0.6649, allocations: 10.04 MB / 0.9653 GB, free: 10.09 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001003/0.6659, allocations: 31.81 kB / 0.9653 GB, free: 10.06 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001105/0.6671, allocations: 393 kB / 0.9657 GB, free: 9.676 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0027/0.6698, allocations: 1.026 MB / 0.9667 GB, free: 8.645 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.00297/0.6728, allocations: 1.288 MB / 0.9679 GB, free: 7.355 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001963/0.6748, allocations: 1.702 MB / 0.9696 GB, free: 5.648 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001236/0.676, allocations: 0.8354 MB / 0.9704 GB, free: 4.789 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002815/0.6789, allocations: 1.424 MB / 0.9718 GB, free: 3.359 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009654/0.6799, allocations: 0.5289 MB / 0.9723 GB, free: 2.828 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001937/0.6801, allocations: 63.94 kB / 0.9724 GB, free: 2.766 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002957/0.683, allocations: 1.415 MB / 0.9737 GB, free: 1.348 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0003796/0.6834, allocations: 343.1 kB / 0.9741 GB, free: 1.012 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0005045/0.6839, allocations: 429.8 kB / 0.9745 GB, free: 0.5898 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001857/0.6858, allocations: 1.527 MB / 0.976 GB, free: 15.06 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.6858, allocations: 0 / 0.976 GB, free: 15.06 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.413e-06/0.6858, allocations: 0 / 0.976 GB, free: 15.06 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 1.736e-05/0.6858, allocations: 0 / 0.976 GB, free: 15.06 MB / 0.7481 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.001389/0.6872, allocations: 1.146 MB / 0.9771 GB, free: 13.86 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.6873, allocations: 16.03 kB / 0.9771 GB, free: 13.85 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001162/0.6874, allocations: 122.6 kB / 0.9772 GB, free: 13.72 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001647/0.6891, allocations: 290.6 kB / 0.9775 GB, free: 13.43 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008495/0.6899, allocations: 0.5739 MB / 0.9781 GB, free: 12.82 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.32e-05/0.69, allocations: 58 kB / 0.9781 GB, free: 12.76 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.096e-05/0.6901, allocations: 75.98 kB / 0.9782 GB, free: 12.69 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001184/0.6913, allocations: 0.8986 MB / 0.9791 GB, free: 11.73 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.631e-05/0.6913, allocations: 4 kB / 0.9791 GB, free: 11.73 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.898e-05/0.6914, allocations: 31.98 kB / 0.9791 GB, free: 11.7 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.761e-05/0.6914, allocations: 37.3 kB / 0.9791 GB, free: 11.66 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008759/0.6923, allocations: 0.5748 MB / 0.9797 GB, free: 11.09 MB / 0.7481 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.003412/0.6957, allocations: 3.485 MB / 0.9831 GB, free: 7.41 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003958/0.6961, allocations: 231.6 kB / 0.9833 GB, free: 7.156 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002299/0.6964, allocations: 138.5 kB / 0.9835 GB, free: 7.012 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008614/0.6972, allocations: 493.8 kB / 0.9839 GB, free: 6.438 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.705e-05/0.6973, allocations: 42.48 kB / 0.984 GB, free: 6.387 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=21): time 2.755e-06/0.6973, allocations: 0 / 0.984 GB, free: 6.387 MB / 0.7481 GB Notification: Performance of matching and sorting (n=21): time 0.001219/0.6985, allocations: 454.3 kB / 0.9844 GB, free: 5.938 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.932e-05/0.6986, allocations: 114.7 kB / 0.9845 GB, free: 5.801 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009356/0.6995, allocations: 0.8648 MB / 0.9854 GB, free: 4.922 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.884e-05/0.6996, allocations: 29.7 kB / 0.9854 GB, free: 4.887 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003049/0.6999, allocations: 375.8 kB / 0.9857 GB, free: 4.516 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 6.527e-05/0.7, allocations: 78.94 kB / 0.9858 GB, free: 4.438 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001135/0.7001, allocations: 57.61 kB / 0.9859 GB, free: 4.375 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001075/0.7002, allocations: 322 kB / 0.9862 GB, free: 4.055 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001992/0.7004, allocations: 95.92 kB / 0.9863 GB, free: 3.961 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002869/0.7007, allocations: 216.1 kB / 0.9865 GB, free: 3.711 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004671/0.7012, allocations: 309.8 kB / 0.9868 GB, free: 3.371 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.7012, allocations: 4 kB / 0.9868 GB, free: 3.367 MB / 0.7481 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006746/0.7019, allocations: 400.3 kB / 0.9872 GB, free: 2.969 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/0.7019, allocations: 8 kB / 0.9872 GB, free: 2.961 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.122e-05/0.7019, allocations: 4 kB / 0.9872 GB, free: 2.957 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.927e-05/0.7019, allocations: 7.938 kB / 0.9872 GB, free: 2.949 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003076/0.7022, allocations: 59.84 kB / 0.9872 GB, free: 2.891 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.686e-06/0.7023, allocations: 8 kB / 0.9872 GB, free: 2.883 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004234/0.7027, allocations: 75.05 kB / 0.9873 GB, free: 2.809 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.205e-05/0.7027, allocations: 24.19 kB / 0.9873 GB, free: 2.785 MB / 0.7481 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.0002655/0.703, allocations: 233.7 kB / 0.9876 GB, free: 2.547 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001244/0.7032, allocations: 82.97 kB / 0.9876 GB, free: 2.465 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005754/0.7037, allocations: 320.7 kB / 0.9879 GB, free: 2.145 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.791e-06/0.7037, allocations: 7.984 kB / 0.9879 GB, free: 2.137 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.7038, allocations: 0 / 0.9879 GB, free: 2.137 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.7038, allocations: 4.062 kB / 0.988 GB, free: 2.133 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001794/0.7056, allocations: 1.37 MB / 0.9893 GB, free: 0.6523 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/0.7056, allocations: 12.03 kB / 0.9893 GB, free: 0.6406 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002001/0.7058, allocations: 39.98 kB / 0.9893 GB, free: 0.6016 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.887e-06/0.7058, allocations: 8 kB / 0.9893 GB, free: 0.5938 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.98e-05/0.7058, allocations: 11.88 kB / 0.9894 GB, free: 0.582 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.957e-06/0.7058, allocations: 11.98 kB / 0.9894 GB, free: 0.5703 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/0.7059, allocations: 4 kB / 0.9894 GB, free: 0.5664 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3278/1.034, allocations: 0.5048 MB / 0.9899 GB, free: 211.6 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004293/1.034, allocations: 186.1 kB / 0.99 GB, free: 211.5 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000102/1.034, allocations: 16.28 kB / 0.9901 GB, free: 211.5 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004011/1.035, allocations: 17.03 kB / 0.9901 GB, free: 211.5 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.443e-05/1.035, allocations: 26.31 kB / 0.9901 GB, free: 211.5 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.329e-05/1.035, allocations: 10.75 kB / 0.9901 GB, free: 211.5 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0008306/1.036, allocations: 0.6166 MB / 0.9907 GB, free: 211.4 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.5e-07/1.036, allocations: 0 / 0.9907 GB, free: 211.4 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0005945/1.036, allocations: 165.6 kB / 0.9909 GB, free: 211.4 MB / 0.7481 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.00124/1.037, allocations: 1.139 MB / 0.992 GB, free: 210.6 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0006406/1.038, allocations: 270.4 kB / 0.9922 GB, free: 210.6 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/1.038, allocations: 0.8125 kB / 0.9922 GB, free: 210.6 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0002536/1.038, allocations: 127.5 kB / 0.9924 GB, free: 210.6 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001779/1.04, allocations: 421.6 kB / 0.9928 GB, free: 210.5 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008324/1.049, allocations: 5.971 MB / 0.9986 GB, free: 207.4 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000718/1.049, allocations: 0.9944 MB / 0.9996 GB, free: 206.6 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0007067/1.05, allocations: 164.8 kB / 0.9997 GB, free: 206.6 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003016/1.05, allocations: 278.5 kB / 1 GB, free: 206.4 MB / 0.7481 GB Notification: Performance of SimCode: time 8.62e-07/1.05, allocations: 7.375 kB / 1 GB, free: 206.4 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04618/1.096, allocations: 21.08 MB / 1.021 GB, free: 196.8 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.251/9.348, allocations: 11.97 kB / 1.021 GB, free: 196.8 MB / 0.7481 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)