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.006463/0.006468, allocations: 99.81 kB / 15.73 MB, free: 6.062 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.001264/0.001264, allocations: 194.9 kB / 16.67 MB, free: 5.973 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.337/1.337, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002088/0.002088, allocations: 292 kB / 290.8 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9565/0.9565, allocations: 169.2 MB / 0.4983 GB, free: 4.449 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001613/0.001613, allocations: 96.08 kB / 0.6814 GB, free: 6.965 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.542/0.5436, allocations: 86.97 MB / 0.7664 GB, free: 3.91 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.PropertySource_T): time 0.2124/0.7561, allocations: 194.1 MB / 0.9559 GB, free: 1.062 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.4368/1.193, allocations: 10.02 MB / 0.9657 GB, free: 1.793 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009206/1.194, allocations: 30.91 kB / 0.9658 GB, free: 1.793 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0009164/1.195, allocations: 397.1 kB / 0.9661 GB, free: 1.793 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.002458/1.197, allocations: 1.025 MB / 0.9671 GB, free: 1.754 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003197/1.201, allocations: 1.296 MB / 0.9684 GB, free: 1.719 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001986/1.203, allocations: 1.689 MB / 0.97 GB, free: 1.715 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001152/1.204, allocations: 0.8371 MB / 0.9709 GB, free: 1.609 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003075/1.207, allocations: 1.414 MB / 0.9722 GB, free: 1.59 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006403/1.207, allocations: 0.5293 MB / 0.9728 GB, free: 1.59 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001011/1.208, allocations: 63.25 kB / 0.9728 GB, free: 1.59 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002614/1.21, allocations: 1.41 MB / 0.9742 GB, free: 1.574 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003266/1.211, allocations: 347 kB / 0.9745 GB, free: 1.574 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0004901/1.211, allocations: 442.9 kB / 0.975 GB, free: 1.574 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.002163/1.213, allocations: 1.524 MB / 0.9764 GB, free: 1.48 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/1.213, allocations: 0 / 0.9764 GB, free: 1.48 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.562e-06/1.213, allocations: 0.8125 kB / 0.9764 GB, free: 1.48 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.923e-05/1.213, allocations: 2.594 kB / 0.9764 GB, free: 1.48 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.001557/1.215, allocations: 1.173 MB / 0.9776 GB, free: 16.79 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/1.215, allocations: 9.844 kB / 0.9776 GB, free: 16.79 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001633/1.217, allocations: 296.3 kB / 0.9779 GB, free: 16.73 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009679/1.218, allocations: 0.5748 MB / 0.9784 GB, free: 16.46 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.568e-05/1.218, allocations: 60.03 kB / 0.9785 GB, free: 16.45 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.001e-05/1.218, allocations: 74.98 kB / 0.9786 GB, free: 16.45 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001257/1.219, allocations: 0.9032 MB / 0.9795 GB, free: 16.26 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.054e-05/1.219, allocations: 2.688 kB / 0.9795 GB, free: 16.26 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.842e-05/1.219, allocations: 29.12 kB / 0.9795 GB, free: 16.26 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.073e-05/1.219, allocations: 41.22 kB / 0.9795 GB, free: 16.26 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008758/1.22, allocations: 0.5763 MB / 0.9801 GB, free: 16.25 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.003156/1.223, allocations: 3.499 MB / 0.9835 GB, free: 14.08 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003484/1.223, allocations: 226 kB / 0.9837 GB, free: 14.01 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002214/1.224, allocations: 142.8 kB / 0.9839 GB, free: 13.98 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007535/1.224, allocations: 493.8 kB / 0.9843 GB, free: 13.52 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.551e-05/1.225, allocations: 38.12 kB / 0.9844 GB, free: 13.48 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=21): time 2.004e-06/1.225, allocations: 0.9375 kB / 0.9844 GB, free: 13.48 MB / 0.7325 GB Notification: Performance of matching and sorting (n=21): time 0.001241/1.226, allocations: 452.2 kB / 0.9848 GB, free: 13.39 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.16e-05/1.226, allocations: 109.8 kB / 0.9849 GB, free: 13.27 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001015/1.227, allocations: 0.8654 MB / 0.9857 GB, free: 13.13 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.308e-05/1.227, allocations: 31.3 kB / 0.9858 GB, free: 13.1 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002899/1.227, allocations: 384.4 kB / 0.9861 GB, free: 12.96 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 7.338e-05/1.227, allocations: 91.02 kB / 0.9862 GB, free: 12.9 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001252/1.227, allocations: 57.17 kB / 0.9863 GB, free: 12.89 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.00014/1.228, allocations: 320.2 kB / 0.9866 GB, free: 12.58 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000212/1.228, allocations: 110.9 kB / 0.9867 GB, free: 12.57 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003207/1.228, allocations: 210.9 kB / 0.9869 GB, free: 12.47 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004763/1.229, allocations: 309.8 kB / 0.9872 GB, free: 12.37 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/1.229, allocations: 0 / 0.9872 GB, free: 12.37 MB / 0.7325 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006953/1.229, allocations: 408.3 kB / 0.9876 GB, free: 12.29 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/1.229, allocations: 7.25 kB / 0.9876 GB, free: 12.29 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/1.229, allocations: 3.906 kB / 0.9876 GB, free: 12.29 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.115e-05/1.229, allocations: 5.625 kB / 0.9876 GB, free: 12.29 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002876/1.23, allocations: 57.88 kB / 0.9877 GB, free: 12.29 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.287e-06/1.23, allocations: 7.312 kB / 0.9877 GB, free: 12.29 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004223/1.23, allocations: 82.62 kB / 0.9877 GB, free: 12.25 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.705e-05/1.23, allocations: 20.36 kB / 0.9878 GB, free: 12.24 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.23, allocations: 234.8 kB / 0.988 GB, free: 12.12 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001353/1.231, allocations: 84.14 kB / 0.9881 GB, free: 12.08 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000597/1.231, allocations: 321.5 kB / 0.9884 GB, free: 12.04 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/1.231, allocations: 4.281 kB / 0.9884 GB, free: 12.04 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/1.231, allocations: 0 / 0.9884 GB, free: 12.04 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.027e-06/1.231, allocations: 8.219 kB / 0.9884 GB, free: 12.03 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001915/1.233, allocations: 1.374 MB / 0.9897 GB, free: 11.43 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.634e-06/1.233, allocations: 8.828 kB / 0.9897 GB, free: 11.43 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001879/1.233, allocations: 43.56 kB / 0.9898 GB, free: 11.43 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.695e-06/1.233, allocations: 8.594 kB / 0.9898 GB, free: 11.43 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.043e-05/1.233, allocations: 8.25 kB / 0.9898 GB, free: 11.43 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.372e-06/1.233, allocations: 9.938 kB / 0.9898 GB, free: 11.43 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.008e-06/1.233, allocations: 5.656 kB / 0.9898 GB, free: 11.43 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005899/1.234, allocations: 0.5166 MB / 0.9903 GB, free: 11.11 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002146/1.234, allocations: 191.8 kB / 0.9905 GB, free: 10.97 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.559e-05/1.234, allocations: 11.02 kB / 0.9905 GB, free: 10.97 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003287/1.235, allocations: 16.97 kB / 0.9905 GB, free: 10.97 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.115e-05/1.235, allocations: 31.06 kB / 0.9905 GB, free: 10.97 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.682e-05/1.235, allocations: 8.312 kB / 0.9906 GB, free: 10.97 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0006393/1.235, allocations: 0.6135 MB / 0.9912 GB, free: 10.88 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/1.235, allocations: 0.75 kB / 0.9912 GB, free: 10.88 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005848/1.236, allocations: 165.6 kB / 0.9913 GB, free: 10.86 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.0004181/1.236, allocations: 190.1 kB / 0.9915 GB, free: 10.76 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0005208/1.237, allocations: 273.6 kB / 0.9918 GB, free: 10.75 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/1.237, allocations: 0.9375 kB / 0.9918 GB, free: 10.75 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002235/1.237, allocations: 134.5 kB / 0.9919 GB, free: 10.75 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001741/1.239, allocations: 412.7 kB / 0.9923 GB, free: 10.7 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001569/1.241, allocations: 1.262 MB / 0.9935 GB, free: 10.06 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004948/1.241, allocations: 0.9918 MB / 0.9945 GB, free: 9.363 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0004447/1.242, allocations: 166.1 kB / 0.9946 GB, free: 9.344 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001211/1.242, allocations: 50.75 kB / 0.9947 GB, free: 9.336 MB / 0.7325 GB Notification: Performance of SimCode: time 4.91e-07/1.242, allocations: 0 / 0.9947 GB, free: 9.336 MB / 0.7325 GB Notification: Performance of Templates: time 0.01929/1.261, allocations: 13.78 MB / 1.008 GB, free: 8.609 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)