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.001328/0.001328, allocations: 109.6 kB / 15.99 MB, free: 6.367 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.001304/0.001304, allocations: 191.5 kB / 16.91 MB, free: 6.195 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.323/1.323, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002427/0.002427, allocations: 288.4 kB / 291 MB, free: 14.71 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.152/1.152, allocations: 178.5 MB / 0.5076 GB, free: 12.75 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002626/0.002626, allocations: 107.8 kB / 0.6066 GB, free: 9.684 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1654/0.168, allocations: 89.13 MB / 0.6936 GB, free: 480 kB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.PropertySource_T): time 0.4638/0.6318, allocations: 191.6 MB / 0.8807 GB, free: 11.15 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01263/0.6445, allocations: 9.947 MB / 0.8904 GB, free: 1.176 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001192/0.6457, allocations: 27.81 kB / 0.8905 GB, free: 1.148 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001118/0.6469, allocations: 333.9 kB / 0.8908 GB, free: 0.8203 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.002714/0.6496, allocations: 0.9569 MB / 0.8917 GB, free: 15.86 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.002818/0.6524, allocations: 1.195 MB / 0.8929 GB, free: 14.66 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.002211/0.6547, allocations: 1.71 MB / 0.8946 GB, free: 12.95 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001101/0.6558, allocations: 0.7924 MB / 0.8953 GB, free: 12.14 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003044/0.6588, allocations: 1.393 MB / 0.8967 GB, free: 10.74 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007757/0.6596, allocations: 0.5563 MB / 0.8972 GB, free: 10.18 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001178/0.6598, allocations: 64 kB / 0.8973 GB, free: 10.12 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002757/0.6625, allocations: 1.465 MB / 0.8987 GB, free: 8.652 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0004283/0.663, allocations: 347.1 kB / 0.8991 GB, free: 8.312 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0005286/0.6635, allocations: 433.8 kB / 0.8995 GB, free: 7.887 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001633/0.6652, allocations: 1.064 MB / 0.9005 GB, free: 6.82 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.503e-06/0.6652, allocations: 8 kB / 0.9005 GB, free: 6.812 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.353e-06/0.6652, allocations: 0 / 0.9005 GB, free: 6.812 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.145e-05/0.6652, allocations: 0 / 0.9005 GB, free: 6.812 MB / 0.6544 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.001708/0.6669, allocations: 1.149 MB / 0.9016 GB, free: 5.613 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.667, allocations: 8.031 kB / 0.9017 GB, free: 5.605 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00179/0.6688, allocations: 294.6 kB / 0.9019 GB, free: 5.316 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008381/0.6696, allocations: 0.5349 MB / 0.9025 GB, free: 4.742 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.593e-05/0.6697, allocations: 57.98 kB / 0.9025 GB, free: 4.688 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001163/0.6698, allocations: 79.98 kB / 0.9026 GB, free: 4.609 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001437/0.6712, allocations: 0.8986 MB / 0.9035 GB, free: 3.648 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.926e-05/0.6713, allocations: 0 / 0.9035 GB, free: 3.648 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.226e-05/0.6713, allocations: 32 kB / 0.9035 GB, free: 3.617 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-05/0.6714, allocations: 41.23 kB / 0.9035 GB, free: 3.578 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001008/0.6724, allocations: 0.5749 MB / 0.9041 GB, free: 3.004 MB / 0.6544 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.003865/0.6763, allocations: 3.505 MB / 0.9075 GB, free: 15.3 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004141/0.6767, allocations: 227.6 kB / 0.9077 GB, free: 15.05 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002485/0.677, allocations: 147.2 kB / 0.9079 GB, free: 14.9 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008986/0.6779, allocations: 489.4 kB / 0.9083 GB, free: 14.33 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.055e-05/0.6779, allocations: 38.56 kB / 0.9084 GB, free: 14.29 MB / 0.67 GB Notification: Performance of pre-optimization done (n=21): time 1.963e-06/0.6779, allocations: 0 / 0.9084 GB, free: 14.29 MB / 0.67 GB Notification: Performance of matching and sorting (n=21): time 0.001273/0.6792, allocations: 451.6 kB / 0.9088 GB, free: 13.84 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.668e-05/0.6793, allocations: 110.8 kB / 0.9089 GB, free: 13.71 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001091/0.6804, allocations: 0.8683 MB / 0.9098 GB, free: 12.83 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 4.348e-05/0.6805, allocations: 29.7 kB / 0.9098 GB, free: 12.8 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003149/0.6808, allocations: 383.8 kB / 0.9102 GB, free: 12.42 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 7.987e-05/0.6809, allocations: 78.92 kB / 0.9102 GB, free: 12.34 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001082/0.681, allocations: 61.61 kB / 0.9103 GB, free: 12.27 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001425/0.6811, allocations: 322 kB / 0.9106 GB, free: 11.95 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002206/0.6814, allocations: 95.92 kB / 0.9107 GB, free: 11.86 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003378/0.6817, allocations: 216.1 kB / 0.9109 GB, free: 11.61 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005066/0.6822, allocations: 300.4 kB / 0.9112 GB, free: 11.28 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.6822, allocations: 0 / 0.9112 GB, free: 11.28 MB / 0.67 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0007285/0.683, allocations: 406 kB / 0.9116 GB, free: 10.88 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.839e-05/0.683, allocations: 8 kB / 0.9116 GB, free: 10.87 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/0.683, allocations: 4 kB / 0.9116 GB, free: 10.86 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.683, allocations: 4 kB / 0.9116 GB, free: 10.86 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003016/0.6833, allocations: 60.25 kB / 0.9116 GB, free: 10.8 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.419e-05/0.6834, allocations: 15.88 kB / 0.9117 GB, free: 10.79 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004799/0.6838, allocations: 87.59 kB / 0.9117 GB, free: 10.7 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.761e-05/0.6839, allocations: 15.98 kB / 0.9118 GB, free: 10.68 MB / 0.67 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.0002946/0.6842, allocations: 230.3 kB / 0.912 GB, free: 10.45 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001344/0.6843, allocations: 87.05 kB / 0.9121 GB, free: 10.36 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006216/0.685, allocations: 309.9 kB / 0.9124 GB, free: 10.05 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.224e-06/0.685, allocations: 7.938 kB / 0.9124 GB, free: 10.05 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.423e-05/0.685, allocations: 0 / 0.9124 GB, free: 10.05 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.685, allocations: 3.938 kB / 0.9124 GB, free: 10.04 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002073/0.6871, allocations: 1.374 MB / 0.9137 GB, free: 8.559 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.107e-06/0.6871, allocations: 4 kB / 0.9137 GB, free: 8.555 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002062/0.6873, allocations: 52.38 kB / 0.9138 GB, free: 8.504 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.584e-06/0.6873, allocations: 8 kB / 0.9138 GB, free: 8.496 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.484e-05/0.6874, allocations: 12.56 kB / 0.9138 GB, free: 8.484 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.025e-06/0.6874, allocations: 7.938 kB / 0.9138 GB, free: 8.477 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.444e-06/0.6874, allocations: 7.938 kB / 0.9138 GB, free: 8.469 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006959/0.6881, allocations: 0.5101 MB / 0.9143 GB, free: 7.891 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002691/0.6884, allocations: 188.6 kB / 0.9145 GB, free: 7.688 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.881e-05/0.6885, allocations: 12 kB / 0.9145 GB, free: 7.676 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003664/0.6888, allocations: 35.88 kB / 0.9145 GB, free: 7.641 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.695e-05/0.6889, allocations: 27.84 kB / 0.9145 GB, free: 7.613 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.991e-05/0.6889, allocations: 19.31 kB / 0.9146 GB, free: 7.598 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0007954/0.6897, allocations: 0.6121 MB / 0.9152 GB, free: 6.988 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6898, allocations: 0 / 0.9152 GB, free: 6.988 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0005797/0.6903, allocations: 163.9 kB / 0.9153 GB, free: 6.828 MB / 0.67 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.0004351/0.6908, allocations: 192.5 kB / 0.9155 GB, free: 6.648 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0005806/0.6914, allocations: 263.6 kB / 0.9158 GB, free: 6.391 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.6914, allocations: 0 / 0.9158 GB, free: 6.391 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0002618/0.6917, allocations: 137.5 kB / 0.9159 GB, free: 6.258 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001735/0.6934, allocations: 412.9 kB / 0.9163 GB, free: 5.887 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001961/0.6954, allocations: 1.532 MB / 0.9178 GB, free: 4.27 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006229/0.696, allocations: 0.992 MB / 0.9187 GB, free: 3.25 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001522/0.6962, allocations: 55.44 kB / 0.9188 GB, free: 3.195 MB / 0.67 GB Notification: Performance of SimCode: time 3.9e-07/0.6962, allocations: 0 / 0.9188 GB, free: 3.195 MB / 0.67 GB Notification: Performance of Templates: time 0.01905/0.7152, allocations: 12 MB / 0.9305 GB, free: 7.336 MB / 0.6856 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)