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.001143/0.001143, 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.001197/0.001197, allocations: 193.4 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.164/1.164, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001906/0.001906, allocations: 278.9 kB / 290.2 MB, free: 2.223 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8621/0.8621, allocations: 169.2 MB / 0.4977 GB, free: 14.11 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001638/0.001638, allocations: 95.83 kB / 0.5946 GB, free: 28.36 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1302/0.1319, allocations: 86.98 MB / 0.6795 GB, free: 1.074 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.PropertySource_T): time 0.439/0.5709, allocations: 191.9 MB / 0.8669 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01038/0.5813, allocations: 10.05 MB / 0.8767 GB, free: 7.062 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008862/0.5822, allocations: 26.28 kB / 0.8767 GB, free: 7.051 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.000853/0.5831, allocations: 313 kB / 0.877 GB, free: 6.785 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.00224/0.5853, allocations: 0.9626 MB / 0.878 GB, free: 6.047 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002494/0.5878, allocations: 1.192 MB / 0.8791 GB, free: 5.176 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002006/0.5899, allocations: 2.341 MB / 0.8814 GB, free: 3.898 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008271/0.5907, allocations: 0.7234 MB / 0.8821 GB, free: 3.457 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00245/0.5932, allocations: 1.314 MB / 0.8834 GB, free: 2.656 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005307/0.5937, allocations: 0.5468 MB / 0.884 GB, free: 2.336 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 7.64e-05/0.5938, allocations: 45.34 kB / 0.884 GB, free: 2.336 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002396/0.5962, allocations: 1.661 MB / 0.8856 GB, free: 1.363 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002737/0.5965, allocations: 329.8 kB / 0.8859 GB, free: 1.16 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003662/0.5968, allocations: 416.9 kB / 0.8863 GB, free: 0.9062 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001662/0.5985, allocations: 1.57 MB / 0.8879 GB, free: 15.94 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.5985, allocations: 0 / 0.8879 GB, free: 15.94 MB / 0.6075 GB Notification: Performance of FrontEnd: time 8.21e-07/0.5985, allocations: 0 / 0.8879 GB, free: 15.94 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.478e-06/0.5985, allocations: 0 / 0.8879 GB, free: 15.94 MB / 0.6075 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.001366/0.5999, allocations: 1.153 MB / 0.889 GB, free: 15.02 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.481e-05/0.6, allocations: 9.531 kB / 0.889 GB, free: 15.02 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001214/0.6001, allocations: 125.2 kB / 0.8891 GB, free: 14.92 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001685/0.6018, allocations: 288.2 kB / 0.8894 GB, free: 14.79 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000697/0.6025, allocations: 0.5336 MB / 0.8899 GB, free: 14.34 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.85e-05/0.6025, allocations: 63.14 kB / 0.89 GB, free: 14.31 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.097e-05/0.6026, allocations: 67.44 kB / 0.89 GB, free: 14.29 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001189/0.6038, allocations: 0.9005 MB / 0.8909 GB, free: 13.7 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.641e-05/0.6038, allocations: 2.312 kB / 0.8909 GB, free: 13.7 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.757e-05/0.6039, allocations: 31.95 kB / 0.891 GB, free: 13.67 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.459e-05/0.604, allocations: 43.02 kB / 0.891 GB, free: 13.66 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008836/0.6049, allocations: 0.5764 MB / 0.8916 GB, free: 13.39 MB / 0.6075 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.003094/0.608, allocations: 3.497 MB / 0.895 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003421/0.6083, allocations: 221.6 kB / 0.8952 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002148/0.6085, allocations: 152.4 kB / 0.8953 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000806/0.6093, allocations: 490.9 kB / 0.8958 GB, free: 9.582 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.894e-05/0.6094, allocations: 46.44 kB / 0.8958 GB, free: 9.527 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=21): time 1.943e-06/0.6094, allocations: 2.125 kB / 0.8958 GB, free: 9.527 MB / 0.6075 GB Notification: Performance of matching and sorting (n=21): time 0.001104/0.6105, allocations: 446.3 kB / 0.8963 GB, free: 9.312 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.635e-05/0.6106, allocations: 120.8 kB / 0.8964 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000927/0.6115, allocations: 0.8657 MB / 0.8972 GB, free: 8.43 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.51e-05/0.6115, allocations: 29.77 kB / 0.8973 GB, free: 8.395 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002641/0.6118, allocations: 383.7 kB / 0.8976 GB, free: 8.016 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 7.175e-05/0.6119, allocations: 74.94 kB / 0.8977 GB, free: 7.941 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.842e-05/0.612, allocations: 61.69 kB / 0.8978 GB, free: 7.875 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.135e-05/0.6121, allocations: 318 kB / 0.8981 GB, free: 7.559 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002103/0.6123, allocations: 99.92 kB / 0.8982 GB, free: 7.461 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002797/0.6126, allocations: 215 kB / 0.8984 GB, free: 7.211 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004706/0.6131, allocations: 312.7 kB / 0.8987 GB, free: 6.867 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.6131, allocations: 0 / 0.8987 GB, free: 6.867 MB / 0.6075 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006821/0.6138, allocations: 407.1 kB / 0.899 GB, free: 6.465 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/0.6138, allocations: 8 kB / 0.8991 GB, free: 6.457 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.6138, allocations: 0 / 0.8991 GB, free: 6.457 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.6138, allocations: 4 kB / 0.8991 GB, free: 6.453 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002957/0.6141, allocations: 63.84 kB / 0.8991 GB, free: 6.391 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.698e-06/0.6141, allocations: 6.188 kB / 0.8991 GB, free: 6.387 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004501/0.6146, allocations: 91.22 kB / 0.8992 GB, free: 6.297 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.694e-05/0.6146, allocations: 16 kB / 0.8992 GB, free: 6.281 MB / 0.6075 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.0002397/0.6149, allocations: 238.2 kB / 0.8995 GB, free: 6.039 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001236/0.615, allocations: 75.06 kB / 0.8995 GB, free: 5.965 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005985/0.6156, allocations: 314.3 kB / 0.8998 GB, free: 5.648 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.664e-06/0.6156, allocations: 11.94 kB / 0.8998 GB, free: 5.637 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.6157, allocations: 0 / 0.8998 GB, free: 5.637 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.6157, allocations: 3.984 kB / 0.8998 GB, free: 5.633 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00207/0.6177, allocations: 1.358 MB / 0.9012 GB, free: 4.164 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.684e-06/0.6178, allocations: 4 kB / 0.9012 GB, free: 4.16 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002092/0.618, allocations: 51.91 kB / 0.9012 GB, free: 4.109 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.014e-06/0.618, allocations: 4 kB / 0.9012 GB, free: 4.105 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.539e-05/0.618, allocations: 11.94 kB / 0.9012 GB, free: 4.094 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.897e-06/0.618, allocations: 14.19 kB / 0.9012 GB, free: 4.082 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.618, allocations: 7.938 kB / 0.9013 GB, free: 4.074 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006733/0.6187, allocations: 0.5212 MB / 0.9018 GB, free: 3.484 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000254/0.619, allocations: 192 kB / 0.9019 GB, free: 3.277 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.242e-05/0.6191, allocations: 8 kB / 0.902 GB, free: 3.27 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003666/0.6195, allocations: 27.91 kB / 0.902 GB, free: 3.242 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.378e-05/0.6195, allocations: 27.92 kB / 0.902 GB, free: 3.215 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.358e-05/0.6196, allocations: 19.94 kB / 0.902 GB, free: 3.195 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.000807/0.6204, allocations: 0.6083 MB / 0.9026 GB, free: 2.594 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.8e-07/0.6204, allocations: 0 / 0.9026 GB, free: 2.594 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0007882/0.6212, allocations: 163.8 kB / 0.9028 GB, free: 2.434 MB / 0.6075 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.001186/0.6224, allocations: 1.15 MB / 0.9039 GB, free: 1.219 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0005275/0.6229, allocations: 263.5 kB / 0.9041 GB, free: 0.9609 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.6229, allocations: 0 / 0.9041 GB, free: 0.9609 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002327/0.6232, allocations: 125.5 kB / 0.9043 GB, free: 0.8398 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001767/0.625, allocations: 410.8 kB / 0.9047 GB, free: 448 kB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007554/0.6325, allocations: 6.475 MB / 0.911 GB, free: 9.652 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005139/0.6331, allocations: 0.9881 MB / 0.9119 GB, free: 8.633 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0005978/0.6337, allocations: 167.2 kB / 0.9121 GB, free: 8.469 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003516/0.634, allocations: 271.3 kB / 0.9124 GB, free: 8.203 MB / 0.6231 GB Notification: Performance of SimCode: time 7.61e-07/0.634, allocations: 0 / 0.9124 GB, free: 8.203 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06606/0.7001, allocations: 19.88 MB / 0.9318 GB, free: 4.68 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002246/0.7004, allocations: 253.6 kB / 0.932 GB, free: 4.426 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.021/2.722, allocations: 0 / 0.932 GB, free: 4.426 MB / 0.6387 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)