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.0009915/0.0009916, 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.00106/0.001059, allocations: 198 kB / 16.54 MB, free: 6.672 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.288/1.288, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002237/0.002237, allocations: 275 kB / 290.7 MB, free: 2.004 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9189/0.9189, allocations: 169.3 MB / 0.4982 GB, free: 13.93 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001915/0.001915, allocations: 99.53 kB / 0.5952 GB, free: 27.7 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1777/0.1796, allocations: 86.99 MB / 0.6802 GB, free: 0.7031 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.PropertySource_T): time 0.5202/0.6998, allocations: 194.1 MB / 0.8697 GB, free: 13.15 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01138/0.7113, allocations: 10.02 MB / 0.8795 GB, free: 5 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001056/0.7123, allocations: 31.34 kB / 0.8795 GB, free: 4.988 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001016/0.7134, allocations: 400 kB / 0.8799 GB, free: 4.637 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002493/0.7159, allocations: 1.025 MB / 0.8809 GB, free: 3.84 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002723/0.7186, allocations: 1.295 MB / 0.8822 GB, free: 2.871 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001734/0.7204, allocations: 1.687 MB / 0.8838 GB, free: 1.922 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009295/0.7213, allocations: 0.8464 MB / 0.8847 GB, free: 1.414 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002554/0.7239, allocations: 1.411 MB / 0.886 GB, free: 0.5273 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006098/0.7245, allocations: 0.5285 MB / 0.8866 GB, free: 208 kB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001009/0.7246, allocations: 62.66 kB / 0.8866 GB, free: 208 kB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002824/0.7275, allocations: 1.41 MB / 0.888 GB, free: 15.41 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003156/0.7278, allocations: 349.4 kB / 0.8883 GB, free: 15.19 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0004209/0.7282, allocations: 429.2 kB / 0.8887 GB, free: 14.93 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001688/0.7299, allocations: 1.489 MB / 0.8902 GB, free: 14.01 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.7299, allocations: 4 kB / 0.8902 GB, free: 14.01 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.743e-06/0.7299, allocations: 2.5 kB / 0.8902 GB, free: 14.01 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.598e-06/0.73, allocations: 0 / 0.8902 GB, free: 14.01 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.001261/0.7312, allocations: 1.152 MB / 0.8913 GB, free: 13.09 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 2.725e-05/0.7313, allocations: 7.688 kB / 0.8913 GB, free: 13.09 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001571/0.7328, allocations: 297.3 kB / 0.8916 GB, free: 12.95 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007528/0.7336, allocations: 0.5281 MB / 0.8921 GB, free: 12.51 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.927e-05/0.7336, allocations: 60.39 kB / 0.8922 GB, free: 12.48 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.441e-05/0.7337, allocations: 73.75 kB / 0.8923 GB, free: 12.46 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001202/0.7349, allocations: 0.8985 MB / 0.8931 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.782e-05/0.735, allocations: 9.703 kB / 0.8931 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.883e-05/0.735, allocations: 32.81 kB / 0.8932 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.49e-05/0.7351, allocations: 35.2 kB / 0.8932 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009181/0.736, allocations: 0.5761 MB / 0.8938 GB, free: 11.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.003355/0.7394, allocations: 3.516 MB / 0.8972 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000344/0.7397, allocations: 216.4 kB / 0.8974 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002388/0.74, allocations: 150 kB / 0.8975 GB, free: 8.25 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007859/0.7408, allocations: 486.2 kB / 0.898 GB, free: 7.746 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.22e-05/0.7408, allocations: 44.33 kB / 0.8981 GB, free: 7.695 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=21): time 2.034e-06/0.7408, allocations: 0 / 0.8981 GB, free: 7.695 MB / 0.6075 GB Notification: Performance of matching and sorting (n=21): time 0.001149/0.742, allocations: 446 kB / 0.8985 GB, free: 7.367 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.176e-05/0.7421, allocations: 114.7 kB / 0.8986 GB, free: 7.23 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009986/0.7431, allocations: 0.8683 MB / 0.8994 GB, free: 6.352 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.356e-05/0.7431, allocations: 29.7 kB / 0.8995 GB, free: 6.316 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002629/0.7434, allocations: 387.8 kB / 0.8998 GB, free: 5.934 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.599e-05/0.7434, allocations: 74.94 kB / 0.8999 GB, free: 5.859 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.992e-05/0.7436, allocations: 61.69 kB / 0.9 GB, free: 5.793 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.591e-05/0.7437, allocations: 318 kB / 0.9003 GB, free: 5.477 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002167/0.7439, allocations: 95.92 kB / 0.9004 GB, free: 5.383 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002906/0.7442, allocations: 216.1 kB / 0.9006 GB, free: 5.133 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004801/0.7447, allocations: 317.4 kB / 0.9009 GB, free: 4.785 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.7447, allocations: 1.625 kB / 0.9009 GB, free: 4.785 MB / 0.6075 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006601/0.7453, allocations: 400.5 kB / 0.9013 GB, free: 4.387 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.802e-05/0.7454, allocations: 12.03 kB / 0.9013 GB, free: 4.375 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/0.7454, allocations: 7.938 kB / 0.9013 GB, free: 4.367 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.7454, allocations: 4 kB / 0.9013 GB, free: 4.363 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002867/0.7457, allocations: 55.95 kB / 0.9013 GB, free: 4.309 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.214e-05/0.7457, allocations: 11.88 kB / 0.9013 GB, free: 4.297 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004019/0.7461, allocations: 87.03 kB / 0.9014 GB, free: 4.211 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.134e-05/0.7462, allocations: 12 kB / 0.9014 GB, free: 4.199 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.0002413/0.7464, allocations: 239 kB / 0.9017 GB, free: 3.957 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001232/0.7465, allocations: 79.06 kB / 0.9017 GB, free: 3.879 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005918/0.7471, allocations: 312.3 kB / 0.902 GB, free: 3.566 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.203e-06/0.7472, allocations: 7.938 kB / 0.902 GB, free: 3.559 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.7472, allocations: 0 / 0.902 GB, free: 3.559 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.7472, allocations: 3.984 kB / 0.902 GB, free: 3.555 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001837/0.749, allocations: 1.369 MB / 0.9034 GB, free: 2.074 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.56e-06/0.749, allocations: 4 kB / 0.9034 GB, free: 2.07 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001958/0.7492, allocations: 44.44 kB / 0.9034 GB, free: 2.027 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.209e-06/0.7493, allocations: 8 kB / 0.9034 GB, free: 2.02 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.973e-05/0.7493, allocations: 12 kB / 0.9035 GB, free: 2.008 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.933e-06/0.7493, allocations: 10.06 kB / 0.9035 GB, free: 2 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-06/0.7493, allocations: 7.984 kB / 0.9035 GB, free: 1.992 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006227/0.7499, allocations: 0.5104 MB / 0.904 GB, free: 1.414 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002074/0.7501, allocations: 188 kB / 0.9041 GB, free: 1.211 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.796e-05/0.7502, allocations: 12 kB / 0.9042 GB, free: 1.199 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003212/0.7506, allocations: 19.98 kB / 0.9042 GB, free: 1.18 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.04e-05/0.7506, allocations: 27.86 kB / 0.9042 GB, free: 1.152 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.459e-05/0.7507, allocations: 8 kB / 0.9042 GB, free: 1.145 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.000725/0.7514, allocations: 0.616 MB / 0.9048 GB, free: 0.5312 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7514, allocations: 0 / 0.9048 GB, free: 0.5312 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0005333/0.7519, allocations: 175.8 kB / 0.905 GB, free: 368 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.000336/0.7523, allocations: 182 kB / 0.9052 GB, free: 192 kB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0005442/0.7528, allocations: 268 kB / 0.9054 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.7528, allocations: 0 / 0.9054 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002548/0.7531, allocations: 137 kB / 0.9055 GB, free: 15.79 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001731/0.7548, allocations: 424.9 kB / 0.9059 GB, free: 15.4 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001608/0.7565, allocations: 1.262 MB / 0.9072 GB, free: 14.05 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005196/0.757, allocations: 0.9917 MB / 0.9081 GB, free: 13.04 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0005371/0.7575, allocations: 170.2 kB / 0.9083 GB, free: 12.87 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001109/0.7577, allocations: 47.44 kB / 0.9084 GB, free: 12.82 MB / 0.6231 GB Notification: Performance of SimCode: time 2.5e-07/0.7577, allocations: 0 / 0.9084 GB, free: 12.82 MB / 0.6231 GB Notification: Performance of Templates: time 0.02101/0.7787, allocations: 13.71 MB / 0.9217 GB, free: 15.34 MB / 0.6387 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)