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.0009714/0.0009714, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.00118/0.00118, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.305/1.305, allocations: 223.3 MB / 240 MB, free: 5.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001752/0.001752, allocations: 266.1 kB / 291.3 MB, free: 1.965 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9365/0.9365, allocations: 169.5 MB / 0.5 GB, free: 14.22 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004029/0.000403, allocations: 16.52 kB / 0.598 GB, free: 28.19 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.138/0.1384, allocations: 88.54 MB / 0.6845 GB, free: 15.46 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.PropertySource_T): time 0.4442/0.5827, allocations: 176.6 MB / 0.8569 GB, free: 8.66 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01037/0.5931, allocations: 9.342 MB / 0.8661 GB, free: 1.109 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007257/0.5939, allocations: 22.59 kB / 0.8661 GB, free: 1.098 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0008284/0.5947, allocations: 290.5 kB / 0.8664 GB, free: 0.8555 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00192/0.5966, allocations: 0.7857 MB / 0.8671 GB, free: 240 kB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002319/0.599, allocations: 0.9112 MB / 0.868 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001837/0.6008, allocations: 1.989 MB / 0.87 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007707/0.6016, allocations: 0.5882 MB / 0.8705 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002148/0.6038, allocations: 1.113 MB / 0.8716 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000551/0.6043, allocations: 0.5074 MB / 0.8721 GB, free: 13.08 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 6.939e-05/0.6044, allocations: 35.41 kB / 0.8722 GB, free: 13.08 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001572/0.606, allocations: 0.7255 MB / 0.8729 GB, free: 12.72 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002747/0.6063, allocations: 307.5 kB / 0.8732 GB, free: 12.53 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001608/0.6064, allocations: 186 kB / 0.8733 GB, free: 12.42 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0009674/0.6074, allocations: 0.9417 MB / 0.8743 GB, free: 11.85 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.6074, allocations: 0 / 0.8743 GB, free: 11.85 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.263e-06/0.6074, allocations: 0 / 0.8743 GB, free: 11.85 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.125e-05/0.6075, allocations: 0 / 0.8743 GB, free: 11.85 MB / 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.001234/0.6087, allocations: 0.9902 MB / 0.8752 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.028e-05/0.6087, allocations: 14.62 kB / 0.8752 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001665/0.6104, allocations: 294.6 kB / 0.8755 GB, free: 10.9 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007118/0.6111, allocations: 0.5141 MB / 0.876 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.704e-05/0.6112, allocations: 55.66 kB / 0.8761 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.315e-05/0.6113, allocations: 77.33 kB / 0.8761 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001252/0.6125, allocations: 0.8905 MB / 0.877 GB, free: 9.832 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.846e-05/0.6126, allocations: 2.125 kB / 0.877 GB, free: 9.832 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.958e-05/0.6126, allocations: 41.14 kB / 0.8771 GB, free: 9.801 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.731e-05/0.6127, allocations: 42.98 kB / 0.8771 GB, free: 9.789 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009129/0.6136, allocations: 0.5756 MB / 0.8777 GB, free: 9.52 MB / 0.5919 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.003144/0.6168, allocations: 3.506 MB / 0.8811 GB, free: 6.457 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003396/0.6171, allocations: 227.7 kB / 0.8813 GB, free: 6.305 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002301/0.6174, allocations: 162 kB / 0.8815 GB, free: 6.199 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007334/0.6181, allocations: 0.4897 MB / 0.8819 GB, free: 5.617 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.624e-05/0.6181, allocations: 34.56 kB / 0.882 GB, free: 5.574 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=21): time 2.014e-06/0.6181, allocations: 0 / 0.882 GB, free: 5.574 MB / 0.5919 GB Notification: Performance of matching and sorting (n=21): time 0.001135/0.6193, allocations: 466.5 kB / 0.8824 GB, free: 5.113 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.146e-05/0.6193, allocations: 110.8 kB / 0.8825 GB, free: 4.98 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009788/0.6203, allocations: 0.8566 MB / 0.8834 GB, free: 4.113 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.276e-05/0.6204, allocations: 33.7 kB / 0.8834 GB, free: 4.074 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002769/0.6207, allocations: 383.7 kB / 0.8838 GB, free: 3.691 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 6.072e-05/0.6207, allocations: 70.95 kB / 0.8838 GB, free: 3.621 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.567e-05/0.6208, allocations: 11.94 kB / 0.8838 GB, free: 3.609 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 9.511e-05/0.6209, allocations: 322 kB / 0.8841 GB, free: 3.289 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002129/0.6211, allocations: 99.92 kB / 0.8842 GB, free: 3.191 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002884/0.6214, allocations: 219 kB / 0.8844 GB, free: 2.938 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002476/0.6216, allocations: 131.9 kB / 0.8846 GB, free: 2.809 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.6216, allocations: 3.953 kB / 0.8846 GB, free: 2.805 MB / 0.5919 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006535/0.6223, allocations: 414.4 kB / 0.885 GB, free: 2.395 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/0.6223, allocations: 8 kB / 0.885 GB, free: 2.387 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.6223, allocations: 0 / 0.885 GB, free: 2.387 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.6224, allocations: 8.344 kB / 0.885 GB, free: 2.379 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003007/0.6227, allocations: 67.91 kB / 0.885 GB, free: 2.312 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.208e-06/0.6227, allocations: 7.938 kB / 0.8851 GB, free: 2.305 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004277/0.6231, allocations: 87.09 kB / 0.8851 GB, free: 2.219 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.544e-05/0.6232, allocations: 21.81 kB / 0.8852 GB, free: 2.199 MB / 0.5919 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002723/0.6234, allocations: 235.4 kB / 0.8854 GB, free: 1.961 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001325/0.6236, allocations: 86.92 kB / 0.8855 GB, free: 1.875 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006145/0.6242, allocations: 330.6 kB / 0.8858 GB, free: 1.547 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.585e-05/0.6242, allocations: 4 kB / 0.8858 GB, free: 1.543 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.6242, allocations: 3.938 kB / 0.8858 GB, free: 1.539 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.6243, allocations: 4 kB / 0.8858 GB, free: 1.535 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001842/0.6261, allocations: 1.377 MB / 0.8871 GB, free: 48 kB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.452e-06/0.6261, allocations: 6 kB / 0.8871 GB, free: 44 kB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002153/0.6263, allocations: 48.5 kB / 0.8872 GB, free: 15.99 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.025e-06/0.6264, allocations: 12 kB / 0.8872 GB, free: 15.98 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.871e-05/0.6264, allocations: 4 kB / 0.8872 GB, free: 15.98 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.733e-06/0.6264, allocations: 11.89 kB / 0.8872 GB, free: 15.97 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.47e-06/0.6264, allocations: 11.94 kB / 0.8872 GB, free: 15.96 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006137/0.627, allocations: 0.5166 MB / 0.8877 GB, free: 15.37 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002083/0.6272, allocations: 188 kB / 0.8879 GB, free: 15.17 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.998e-05/0.6273, allocations: 12 kB / 0.8879 GB, free: 15.16 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003541/0.6277, allocations: 31.92 kB / 0.888 GB, free: 15.12 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.465e-05/0.6278, allocations: 23.92 kB / 0.888 GB, free: 15.1 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.144e-05/0.6278, allocations: 16 kB / 0.888 GB, free: 15.09 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0007326/0.6285, allocations: 0.6082 MB / 0.8886 GB, free: 14.48 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.91e-07/0.6285, allocations: 3.938 kB / 0.8886 GB, free: 14.48 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0005662/0.6291, allocations: 163.7 kB / 0.8887 GB, free: 14.32 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003941/0.6295, allocations: 191.7 kB / 0.8889 GB, free: 14.13 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0005327/0.6301, allocations: 269.9 kB / 0.8892 GB, free: 13.87 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.519e-06/0.6301, allocations: 4 kB / 0.8892 GB, free: 13.87 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002506/0.6303, allocations: 129 kB / 0.8893 GB, free: 13.74 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001732/0.6321, allocations: 408.1 kB / 0.8897 GB, free: 13.35 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001681/0.6338, allocations: 1.428 MB / 0.8911 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005156/0.6343, allocations: 0.9997 MB / 0.8921 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0005276/0.6348, allocations: 167.2 kB / 0.8922 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001183/0.635, allocations: 47.44 kB / 0.8923 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of SimCode: time 2.41e-07/0.635, allocations: 0 / 0.8923 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of Templates: time 0.02003/0.655, allocations: 12.69 MB / 0.9047 GB, free: 14.14 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)