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: translateModel(BuildingSystems.Fluid.Sources.Examples.PropertySource_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_T") translateModel(BuildingSystems.Fluid.Sources.Examples.PropertySource_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001392/0.001392, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001866/0.001866, allocations: 199.2 kB / 16.14 MB, free: 6.664 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.472/1.472, allocations: 222.9 MB / 239.8 MB, free: 4.57 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002087/0.002088, allocations: 274.8 kB / 290.2 MB, free: 2.18 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.929/0.929, allocations: 169.2 MB / 0.4977 GB, free: 14.15 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001615/0.001615, allocations: 95.62 kB / 0.5945 GB, free: 28.3 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1669/0.1685, allocations: 86.98 MB / 0.6794 GB, free: 1.172 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.PropertySource_T): time 0.6002/0.7688, allocations: 191.9 MB / 0.8668 GB, free: 15.24 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01289/0.7817, allocations: 10.04 MB / 0.8766 GB, free: 7.129 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001496/0.7833, allocations: 27.03 kB / 0.8766 GB, free: 7.117 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.00113/0.7845, allocations: 312.7 kB / 0.8769 GB, free: 6.852 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003024/0.7875, allocations: 0.9724 MB / 0.8779 GB, free: 6.105 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003076/0.7906, allocations: 1.186 MB / 0.879 GB, free: 5.238 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002527/0.7931, allocations: 2.34 MB / 0.8813 GB, free: 3.961 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009939/0.7941, allocations: 0.7184 MB / 0.882 GB, free: 3.527 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003312/0.7975, allocations: 1.323 MB / 0.8833 GB, free: 2.715 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009759/0.7985, allocations: 0.5523 MB / 0.8839 GB, free: 2.391 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 9.681e-05/0.7986, allocations: 42.56 kB / 0.8839 GB, free: 2.391 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003292/0.8019, allocations: 1.659 MB / 0.8855 GB, free: 1.422 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0004171/0.8023, allocations: 326.4 kB / 0.8858 GB, free: 1.223 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.000528/0.8028, allocations: 416.6 kB / 0.8862 GB, free: 0.9688 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.00287/0.8057, allocations: 1.568 MB / 0.8878 GB, free: 0 / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.8057, allocations: 0 / 0.8878 GB, free: 0 / 0.5919 GB Notification: Performance of FrontEnd: time 1.262e-06/0.8057, allocations: 0 / 0.8878 GB, free: 0 / 0.5919 GB Notification: Performance of Transformations before backend: time 1.149e-05/0.8058, allocations: 0 / 0.8878 GB, free: 0 / 0.5919 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.001619/0.8074, allocations: 1.148 MB / 0.8889 GB, free: 15.09 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.771e-05/0.8074, allocations: 10.19 kB / 0.8889 GB, free: 15.09 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001756/0.8092, allocations: 298.5 kB / 0.8892 GB, free: 14.95 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008186/0.81, allocations: 0.5328 MB / 0.8897 GB, free: 14.51 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.032e-05/0.8101, allocations: 62.36 kB / 0.8898 GB, free: 14.48 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.709e-05/0.8102, allocations: 74.34 kB / 0.8898 GB, free: 14.45 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001364/0.8116, allocations: 0.8998 MB / 0.8907 GB, free: 13.86 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.009e-05/0.8116, allocations: 0 / 0.8907 GB, free: 13.86 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.594e-05/0.8117, allocations: 35.5 kB / 0.8907 GB, free: 13.83 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-05/0.8117, allocations: 41.86 kB / 0.8908 GB, free: 13.82 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000929/0.8127, allocations: 0.5741 MB / 0.8913 GB, free: 13.55 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.003778/0.8165, allocations: 3.502 MB / 0.8948 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003895/0.8169, allocations: 227.7 kB / 0.895 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002403/0.8171, allocations: 141.4 kB / 0.8951 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000922/0.818, allocations: 495 kB / 0.8956 GB, free: 9.742 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.707e-05/0.8181, allocations: 44.77 kB / 0.8956 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=21): time 2.044e-06/0.8181, allocations: 0 / 0.8956 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of matching and sorting (n=21): time 0.001213/0.8193, allocations: 444.2 kB / 0.896 GB, free: 9.477 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.044e-05/0.8194, allocations: 113 kB / 0.8962 GB, free: 9.344 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009748/0.8204, allocations: 0.8701 MB / 0.897 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.794e-05/0.8204, allocations: 29.7 kB / 0.897 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002849/0.8207, allocations: 383.7 kB / 0.8974 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.675e-05/0.8208, allocations: 74.92 kB / 0.8975 GB, free: 8.121 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001128/0.8209, allocations: 61.7 kB / 0.8975 GB, free: 8.055 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000114/0.821, allocations: 322 kB / 0.8978 GB, free: 7.734 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002112/0.8212, allocations: 99.92 kB / 0.8979 GB, free: 7.637 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003246/0.8215, allocations: 215 kB / 0.8981 GB, free: 7.387 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000484/0.822, allocations: 308.8 kB / 0.8984 GB, free: 7.047 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.8221, allocations: 0 / 0.8984 GB, free: 7.047 MB / 0.6075 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.000663/0.8227, allocations: 404.2 kB / 0.8988 GB, free: 6.645 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.371e-05/0.8228, allocations: 10.5 kB / 0.8988 GB, free: 6.637 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/0.8228, allocations: 0 / 0.8988 GB, free: 6.637 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.955e-05/0.8228, allocations: 5.188 kB / 0.8988 GB, free: 6.633 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003096/0.8231, allocations: 60.25 kB / 0.8989 GB, free: 6.574 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.576e-05/0.8231, allocations: 15.88 kB / 0.8989 GB, free: 6.559 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004942/0.8236, allocations: 91.09 kB / 0.899 GB, free: 6.469 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.319e-05/0.8237, allocations: 12 kB / 0.899 GB, free: 6.457 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.0002629/0.8239, allocations: 235 kB / 0.8992 GB, free: 6.219 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000122/0.8241, allocations: 79.06 kB / 0.8993 GB, free: 6.141 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005903/0.8247, allocations: 318.7 kB / 0.8996 GB, free: 5.82 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.343e-06/0.8247, allocations: 7.938 kB / 0.8996 GB, free: 5.812 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.995e-06/0.8247, allocations: 0 / 0.8996 GB, free: 5.812 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.8247, allocations: 3.938 kB / 0.8996 GB, free: 5.809 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001865/0.8266, allocations: 1.369 MB / 0.901 GB, free: 4.328 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.021e-06/0.8266, allocations: 4 kB / 0.901 GB, free: 4.324 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002016/0.8268, allocations: 44.45 kB / 0.901 GB, free: 4.281 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.801e-06/0.8268, allocations: 8 kB / 0.901 GB, free: 4.273 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.383e-05/0.8269, allocations: 15.98 kB / 0.901 GB, free: 4.258 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.263e-06/0.8269, allocations: 7.938 kB / 0.901 GB, free: 4.25 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.154e-06/0.8269, allocations: 10.25 kB / 0.901 GB, free: 4.242 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000638/0.8275, allocations: 0.5095 MB / 0.9015 GB, free: 3.664 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002131/0.8277, allocations: 188.1 kB / 0.9017 GB, free: 3.461 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.764e-05/0.8278, allocations: 8 kB / 0.9017 GB, free: 3.453 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003632/0.8282, allocations: 31.97 kB / 0.9018 GB, free: 3.422 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.881e-05/0.8283, allocations: 27.86 kB / 0.9018 GB, free: 3.395 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.824e-05/0.8283, allocations: 16 kB / 0.9018 GB, free: 3.379 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0007016/0.829, allocations: 0.6121 MB / 0.9024 GB, free: 2.773 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.7e-07/0.829, allocations: 0 / 0.9024 GB, free: 2.773 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0006061/0.8296, allocations: 171.8 kB / 0.9026 GB, free: 2.605 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.0004599/0.8301, allocations: 185.2 kB / 0.9027 GB, free: 2.426 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0005584/0.8307, allocations: 255 kB / 0.903 GB, free: 2.18 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.8307, allocations: 0 / 0.903 GB, free: 2.18 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002582/0.8309, allocations: 137.5 kB / 0.9031 GB, free: 2.047 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001797/0.8328, allocations: 401.8 kB / 0.9035 GB, free: 1.652 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001773/0.8345, allocations: 1.475 MB / 0.9049 GB, free: 96 kB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005326/0.8351, allocations: 0.9997 MB / 0.9059 GB, free: 15.07 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0005268/0.8356, allocations: 171.2 kB / 0.9061 GB, free: 14.9 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001283/0.8358, allocations: 47.44 kB / 0.9061 GB, free: 14.85 MB / 0.6231 GB Notification: Performance of SimCode: time 6.21e-07/0.8358, allocations: 0 / 0.9061 GB, free: 14.85 MB / 0.6231 GB Notification: Performance of Templates: time 0.0241/0.8599, allocations: 13.11 MB / 0.9189 GB, free: 1.973 MB / 0.6231 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_T.makefile (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 & ./BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_T.pipe 2>&1)