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.001374/0.001374, allocations: 103.2 kB / 16.41 MB, free: 6.5 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.001378/0.001378, allocations: 189.5 kB / 17.34 MB, free: 5.742 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.371/1.371, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002273/0.002273, allocations: 296.9 kB / 291.5 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.9437/0.9437, allocations: 169.2 MB / 0.499 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002042/0.002042, allocations: 91.86 kB / 0.6821 GB, free: 6.961 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.439/0.441, allocations: 86.98 MB / 0.767 GB, free: 3.938 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.PropertySource_T): time 0.2006/0.6417, allocations: 194.1 MB / 0.9566 GB, free: 1.086 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.4642/1.106, allocations: 10.01 MB / 0.9664 GB, free: 1.812 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001191/1.107, allocations: 31.06 kB / 0.9664 GB, free: 1.812 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001049/1.108, allocations: 398.5 kB / 0.9668 GB, free: 1.812 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.003062/1.111, allocations: 1.025 MB / 0.9678 GB, free: 1.773 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003649/1.115, allocations: 1.296 MB / 0.9691 GB, free: 1.734 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.002552/1.118, allocations: 1.695 MB / 0.9707 GB, free: 1.73 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001251/1.119, allocations: 0.8289 MB / 0.9715 GB, free: 1.629 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003557/1.122, allocations: 1.422 MB / 0.9729 GB, free: 1.609 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008136/1.123, allocations: 0.5341 MB / 0.9734 GB, free: 1.605 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001153/1.123, allocations: 62.47 kB / 0.9735 GB, free: 1.605 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002784/1.126, allocations: 1.412 MB / 0.9749 GB, free: 1.59 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003663/1.127, allocations: 342.9 kB / 0.9752 GB, free: 1.59 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0005117/1.127, allocations: 444 kB / 0.9756 GB, free: 1.59 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.002194/1.129, allocations: 1.513 MB / 0.9771 GB, free: 1.504 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/1.129, allocations: 3.953 kB / 0.9771 GB, free: 1.504 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.034e-06/1.129, allocations: 2.969 kB / 0.9771 GB, free: 1.504 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.268e-05/1.129, allocations: 0 / 0.9771 GB, free: 1.504 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.001576/1.131, allocations: 1.148 MB / 0.9782 GB, free: 16.83 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/1.131, allocations: 8.828 kB / 0.9782 GB, free: 16.83 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001688/1.133, allocations: 294.5 kB / 0.9785 GB, free: 16.79 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008782/1.134, allocations: 0.5662 MB / 0.9791 GB, free: 16.51 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.828e-05/1.134, allocations: 58.31 kB / 0.9791 GB, free: 16.51 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.712e-05/1.134, allocations: 72.34 kB / 0.9792 GB, free: 16.51 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001145/1.135, allocations: 0.9002 MB / 0.9801 GB, free: 16.32 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.219e-05/1.135, allocations: 5.688 kB / 0.9801 GB, free: 16.32 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.818e-05/1.135, allocations: 33.95 kB / 0.9801 GB, free: 16.32 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.736e-05/1.135, allocations: 37.19 kB / 0.9801 GB, free: 16.32 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008307/1.136, allocations: 0.5787 MB / 0.9807 GB, free: 16.31 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.003084/1.139, allocations: 3.485 MB / 0.9841 GB, free: 14.15 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003338/1.139, allocations: 233.1 kB / 0.9843 GB, free: 14.07 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002022/1.139, allocations: 145.5 kB / 0.9845 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007399/1.14, allocations: 485.9 kB / 0.9849 GB, free: 13.58 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.552e-05/1.14, allocations: 38.52 kB / 0.985 GB, free: 13.54 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=21): time 2.415e-06/1.14, allocations: 0.75 kB / 0.985 GB, free: 13.54 MB / 0.7325 GB Notification: Performance of matching and sorting (n=21): time 0.001139/1.141, allocations: 451.2 kB / 0.9854 GB, free: 13.47 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.332e-05/1.141, allocations: 108.9 kB / 0.9855 GB, free: 13.34 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008488/1.142, allocations: 0.8694 MB / 0.9864 GB, free: 13.2 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.24e-05/1.142, allocations: 31.55 kB / 0.9864 GB, free: 13.17 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.000244/1.143, allocations: 382.7 kB / 0.9868 GB, free: 13.04 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.778e-05/1.143, allocations: 76.53 kB / 0.9868 GB, free: 12.99 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.728e-05/1.143, allocations: 62.52 kB / 0.9869 GB, free: 12.97 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001182/1.143, allocations: 322 kB / 0.9872 GB, free: 12.66 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000193/1.143, allocations: 108.7 kB / 0.9873 GB, free: 12.66 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002663/1.143, allocations: 210.2 kB / 0.9875 GB, free: 12.55 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004338/1.144, allocations: 312.2 kB / 0.9878 GB, free: 12.45 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/1.144, allocations: 0 / 0.9878 GB, free: 12.45 MB / 0.7325 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006146/1.144, allocations: 403.7 kB / 0.9882 GB, free: 12.38 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/1.144, allocations: 4.875 kB / 0.9882 GB, free: 12.38 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/1.144, allocations: 4.312 kB / 0.9882 GB, free: 12.38 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.923e-05/1.145, allocations: 6.172 kB / 0.9882 GB, free: 12.38 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003111/1.145, allocations: 65.17 kB / 0.9883 GB, free: 12.38 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.627e-06/1.145, allocations: 4.875 kB / 0.9883 GB, free: 12.38 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004566/1.145, allocations: 82.08 kB / 0.9883 GB, free: 12.33 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.661e-05/1.145, allocations: 18.12 kB / 0.9884 GB, free: 12.33 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.000241/1.146, allocations: 227.5 kB / 0.9886 GB, free: 12.21 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000124/1.146, allocations: 79.81 kB / 0.9887 GB, free: 12.18 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005528/1.146, allocations: 326.4 kB / 0.989 GB, free: 12.12 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/1.146, allocations: 4.219 kB / 0.989 GB, free: 12.12 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/1.146, allocations: 64 / 0.989 GB, free: 12.12 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.108e-05/1.146, allocations: 13.25 kB / 0.989 GB, free: 12.12 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001741/1.148, allocations: 1.362 MB / 0.9903 GB, free: 11.52 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.05e-06/1.148, allocations: 7.625 kB / 0.9903 GB, free: 11.52 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001982/1.148, allocations: 45.52 kB / 0.9904 GB, free: 11.52 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.782e-06/1.148, allocations: 6.375 kB / 0.9904 GB, free: 11.52 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.195e-05/1.148, allocations: 11.41 kB / 0.9904 GB, free: 11.52 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.559e-06/1.148, allocations: 3.406 kB / 0.9904 GB, free: 11.52 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/1.148, allocations: 9.281 kB / 0.9904 GB, free: 11.52 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005591/1.149, allocations: 0.5104 MB / 0.9909 GB, free: 11.21 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002049/1.149, allocations: 188.9 kB / 0.9911 GB, free: 11.08 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.409e-05/1.149, allocations: 9.312 kB / 0.9911 GB, free: 11.08 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003299/1.15, allocations: 18.52 kB / 0.9911 GB, free: 11.08 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.945e-05/1.15, allocations: 29.38 kB / 0.9911 GB, free: 11.07 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.738e-05/1.15, allocations: 14.2 kB / 0.9911 GB, free: 11.07 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0006223/1.15, allocations: 0.6078 MB / 0.9917 GB, free: 10.98 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.6e-07/1.15, allocations: 0 / 0.9917 GB, free: 10.98 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005805/1.151, allocations: 165 kB / 0.9919 GB, free: 10.97 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.0004497/1.151, allocations: 201 kB / 0.9921 GB, free: 10.87 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.000508/1.152, allocations: 269.1 kB / 0.9923 GB, free: 10.86 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/1.152, allocations: 0 / 0.9923 GB, free: 10.86 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002158/1.152, allocations: 128.8 kB / 0.9925 GB, free: 10.86 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001646/1.154, allocations: 416.6 kB / 0.9929 GB, free: 10.8 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001664/1.155, allocations: 1.309 MB / 0.9941 GB, free: 10.15 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004868/1.156, allocations: 0.9886 MB / 0.9951 GB, free: 9.449 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001441/1.156, allocations: 50.28 kB / 0.9951 GB, free: 9.441 MB / 0.7325 GB Notification: Performance of SimCode: time 1.462e-06/1.156, allocations: 0.875 kB / 0.9951 GB, free: 9.441 MB / 0.7325 GB Notification: Performance of Templates: time 0.0181/1.174, allocations: 12.19 MB / 1.007 GB, free: 8.43 MB / 0.7325 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)