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.001107/0.001107, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001135/0.001135, allocations: 194.1 kB / 16.53 MB, free: 6.391 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.281/1.281, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002053/0.002053, allocations: 285.7 kB / 290.7 MB, free: 1.992 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8888/0.8888, allocations: 169.3 MB / 0.4982 GB, free: 13.92 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001673/0.001673, allocations: 99.27 kB / 0.5953 GB, free: 27.84 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1319/0.1336, allocations: 86.98 MB / 0.6803 GB, free: 0.5781 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.PropertySource_T): time 0.448/0.5816, allocations: 194.1 MB / 0.8698 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01154/0.5932, allocations: 10.04 MB / 0.8796 GB, free: 4.879 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00173/0.595, allocations: 29.12 kB / 0.8797 GB, free: 4.867 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001251/0.5963, allocations: 396 kB / 0.88 GB, free: 4.52 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002883/0.5992, allocations: 1.029 MB / 0.881 GB, free: 3.719 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003308/0.6026, allocations: 1.287 MB / 0.8823 GB, free: 2.758 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002047/0.6046, allocations: 1.691 MB / 0.884 GB, free: 1.805 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001155/0.6058, allocations: 0.8327 MB / 0.8848 GB, free: 1.309 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002958/0.6088, allocations: 1.42 MB / 0.8862 GB, free: 424 kB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007826/0.6096, allocations: 0.5324 MB / 0.8867 GB, free: 88 kB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001382/0.6097, allocations: 63 kB / 0.8867 GB, free: 88 kB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002516/0.6122, allocations: 1.401 MB / 0.8881 GB, free: 15.3 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003586/0.6126, allocations: 350.7 kB / 0.8884 GB, free: 15.08 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0005403/0.6131, allocations: 432.3 kB / 0.8888 GB, free: 14.81 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002041/0.6152, allocations: 1.495 MB / 0.8903 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.6152, allocations: 0 / 0.8903 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.463e-06/0.6152, allocations: 0 / 0.8903 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.18e-05/0.6152, allocations: 4 kB / 0.8903 GB, free: 13.89 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.001365/0.6166, allocations: 1.148 MB / 0.8914 GB, free: 12.97 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.712e-05/0.6167, allocations: 10.12 kB / 0.8914 GB, free: 12.97 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001163/0.6168, allocations: 122.5 kB / 0.8916 GB, free: 12.87 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001642/0.6184, allocations: 297 kB / 0.8918 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007309/0.6192, allocations: 0.5304 MB / 0.8924 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.023e-05/0.6192, allocations: 62.3 kB / 0.8924 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.941e-05/0.6193, allocations: 67.62 kB / 0.8925 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001206/0.6205, allocations: 0.9038 MB / 0.8934 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.064e-05/0.6205, allocations: 6.656 kB / 0.8934 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.036e-05/0.6206, allocations: 27.78 kB / 0.8934 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-05/0.6207, allocations: 39.52 kB / 0.8934 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009082/0.6216, allocations: 0.5759 MB / 0.894 GB, free: 11.34 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.003212/0.6248, allocations: 3.511 MB / 0.8974 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003606/0.6252, allocations: 222.3 kB / 0.8976 GB, free: 8.117 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000219/0.6254, allocations: 148.1 kB / 0.8978 GB, free: 8.035 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000799/0.6262, allocations: 491.2 kB / 0.8982 GB, free: 7.527 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.332e-05/0.6262, allocations: 38.45 kB / 0.8983 GB, free: 7.48 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=21): time 1.904e-06/0.6263, allocations: 0 / 0.8983 GB, free: 7.48 MB / 0.6075 GB Notification: Performance of matching and sorting (n=21): time 0.001122/0.6274, allocations: 452.6 kB / 0.8987 GB, free: 7.137 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.242e-05/0.6274, allocations: 118.7 kB / 0.8988 GB, free: 6.996 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009254/0.6284, allocations: 0.8605 MB / 0.8997 GB, free: 6.125 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.719e-05/0.6284, allocations: 29.7 kB / 0.8997 GB, free: 6.09 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002602/0.6287, allocations: 383.8 kB / 0.9001 GB, free: 5.711 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.624e-05/0.6287, allocations: 82.92 kB / 0.9001 GB, free: 5.629 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001011/0.6289, allocations: 53.7 kB / 0.9002 GB, free: 5.57 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001023/0.629, allocations: 322 kB / 0.9005 GB, free: 5.25 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000207/0.6292, allocations: 99.92 kB / 0.9006 GB, free: 5.152 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002953/0.6295, allocations: 214.4 kB / 0.9008 GB, free: 4.906 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004776/0.63, allocations: 317.3 kB / 0.9011 GB, free: 4.559 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.63, allocations: 0 / 0.9011 GB, free: 4.559 MB / 0.6075 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006737/0.6307, allocations: 404.2 kB / 0.9015 GB, free: 4.156 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.826e-05/0.6307, allocations: 8.281 kB / 0.9015 GB, free: 4.148 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.894e-06/0.6307, allocations: 8 kB / 0.9015 GB, free: 4.141 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.777e-05/0.6307, allocations: 4 kB / 0.9015 GB, free: 4.137 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003034/0.631, allocations: 63.84 kB / 0.9016 GB, free: 4.074 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.887e-06/0.631, allocations: 4 kB / 0.9016 GB, free: 4.07 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000428/0.6315, allocations: 79.09 kB / 0.9016 GB, free: 3.992 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.487e-05/0.6315, allocations: 16.88 kB / 0.9017 GB, free: 3.977 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.0002593/0.6318, allocations: 234.3 kB / 0.9019 GB, free: 3.738 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001313/0.6319, allocations: 79.06 kB / 0.902 GB, free: 3.66 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005986/0.6325, allocations: 319.3 kB / 0.9023 GB, free: 3.34 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/0.6325, allocations: 3.938 kB / 0.9023 GB, free: 3.336 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.295e-06/0.6326, allocations: 4 kB / 0.9023 GB, free: 3.332 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.6326, allocations: 0 / 0.9023 GB, free: 3.332 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001921/0.6345, allocations: 1.365 MB / 0.9036 GB, free: 1.859 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/0.6345, allocations: 4.047 kB / 0.9036 GB, free: 1.855 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002133/0.6347, allocations: 52.42 kB / 0.9037 GB, free: 1.805 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.771e-06/0.6347, allocations: 8 kB / 0.9037 GB, free: 1.797 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.954e-05/0.6348, allocations: 11.94 kB / 0.9037 GB, free: 1.785 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.833e-06/0.6348, allocations: 11.94 kB / 0.9037 GB, free: 1.773 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/0.6348, allocations: 4 kB / 0.9037 GB, free: 1.77 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000579/0.6354, allocations: 0.5105 MB / 0.9042 GB, free: 1.191 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001995/0.6356, allocations: 188.1 kB / 0.9044 GB, free: 0.9883 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.817e-05/0.6357, allocations: 11.98 kB / 0.9044 GB, free: 0.9766 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003184/0.636, allocations: 11.94 kB / 0.9044 GB, free: 0.9648 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.041e-05/0.6361, allocations: 31.91 kB / 0.9044 GB, free: 0.9336 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.322e-05/0.6361, allocations: 15.94 kB / 0.9044 GB, free: 0.918 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0006716/0.6368, allocations: 0.6122 MB / 0.905 GB, free: 316 kB / 0.6075 GB Notification: Performance of sort global known variables: time 2.11e-07/0.6368, allocations: 3.938 kB / 0.905 GB, free: 312 kB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0005641/0.6374, allocations: 163.8 kB / 0.9052 GB, free: 148 kB / 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.00112/0.6385, allocations: 1.157 MB / 0.9063 GB, free: 14.92 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0005466/0.639, allocations: 263.6 kB / 0.9066 GB, free: 14.66 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.6391, allocations: 0 / 0.9066 GB, free: 14.66 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002439/0.6393, allocations: 129.4 kB / 0.9067 GB, free: 14.54 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001747/0.6411, allocations: 423.1 kB / 0.9071 GB, free: 14.14 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006949/0.648, allocations: 6.283 MB / 0.9132 GB, free: 7.543 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004775/0.6485, allocations: 0.9955 MB / 0.9142 GB, free: 6.52 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0005452/0.6491, allocations: 162.2 kB / 0.9144 GB, free: 6.359 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002964/0.6494, allocations: 275.3 kB / 0.9146 GB, free: 6.09 MB / 0.6231 GB Notification: Performance of SimCode: time 4.91e-07/0.6494, allocations: 0 / 0.9146 GB, free: 6.09 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03779/0.6872, allocations: 20.59 MB / 0.9347 GB, free: 1.852 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.323/8.01, allocations: 15.94 kB / 0.9348 GB, free: 1.836 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)