Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") translateModel(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8929/0.8929, allocations: 141.8 MB / 149.3 MB, free: 9.203 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001574/0.001574, allocations: 188.6 kB / 182.2 MB, free: 9.422 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.501/1.501, allocations: 221.5 MB / 436.4 MB, free: 13.32 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008679/0.0008677, allocations: 93.8 kB / 0.5074 GB, free: 10.16 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001815/0.001815, allocations: 266.8 kB / 0.5889 GB, free: 54.65 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.897e-05/1.899e-05, allocations: 4 kB / 0.6765 GB, free: 12.81 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4623/0.4623, allocations: 82.78 MB / 0.7574 GB, free: 32 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1524/0.6148, allocations: 109.7 MB / 0.8645 GB, free: 2.211 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002297/0.6151, allocations: 83.83 kB / 0.8645 GB, free: 2.133 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.01588/0.631, allocations: 5.378 MB / 0.8698 GB, free: 12.75 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.553e-06/0.631, allocations: 0 / 0.8698 GB, free: 12.75 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 6.763e-06/0.6311, allocations: 0 / 0.8698 GB, free: 12.75 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004036/0.6315, allocations: 362.4 kB / 0.8701 GB, free: 12.35 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.395e-05/0.6315, allocations: 8.031 kB / 0.8701 GB, free: 12.34 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.053e-05/0.6316, allocations: 3.984 kB / 0.8701 GB, free: 12.34 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001494/0.6317, allocations: 167 kB / 0.8703 GB, free: 12.13 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.231e-05/0.6318, allocations: 0 / 0.8703 GB, free: 12.13 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.17e-05/0.6318, allocations: 0 / 0.8703 GB, free: 12.13 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.375e-05/0.6319, allocations: 12 kB / 0.8703 GB, free: 12.12 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.561e-05/0.632, allocations: 41.69 kB / 0.8704 GB, free: 12.07 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.296e-06/0.632, allocations: 0 / 0.8704 GB, free: 12.07 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.284e-05/0.632, allocations: 4 kB / 0.8704 GB, free: 12.07 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.632, allocations: 3.938 kB / 0.8704 GB, free: 12.07 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003635/0.6324, allocations: 233.4 kB / 0.8706 GB, free: 11.8 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002097/0.6326, allocations: 42.62 kB / 0.8706 GB, free: 11.75 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.401e-05/0.6327, allocations: 12.86 kB / 0.8706 GB, free: 11.73 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 2.821e-05/0.6327, allocations: 4 kB / 0.8706 GB, free: 11.73 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.404e-05/0.6327, allocations: 34.56 kB / 0.8707 GB, free: 11.69 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=4): time 1.613e-06/0.6327, allocations: 0 / 0.8707 GB, free: 11.69 MB / 0.5417 GB Notification: Performance of matching and sorting (n=4): time 0.0001989/0.6329, allocations: 53.7 kB / 0.8707 GB, free: 11.63 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.998e-05/0.633, allocations: 51.41 kB / 0.8708 GB, free: 11.57 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.069e-05/0.6331, allocations: 96.94 kB / 0.8709 GB, free: 11.46 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.944e-05/0.6331, allocations: 25.7 kB / 0.8709 GB, free: 11.43 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 6.465e-05/0.6332, allocations: 80.14 kB / 0.871 GB, free: 11.35 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 1.572e-05/0.6332, allocations: 15.8 kB / 0.871 GB, free: 11.34 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.057e-06/0.6332, allocations: 4 kB / 0.871 GB, free: 11.33 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001462/0.6334, allocations: 318.8 kB / 0.8713 GB, free: 11.01 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.935e-05/0.6334, allocations: 4 kB / 0.8713 GB, free: 11.01 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.322e-05/0.6334, allocations: 21.72 kB / 0.8713 GB, free: 10.98 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.977e-05/0.6335, allocations: 7.984 kB / 0.8713 GB, free: 10.97 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.6335, allocations: 3.938 kB / 0.8713 GB, free: 10.97 MB / 0.5417 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.531e-05/0.6336, allocations: 49.64 kB / 0.8714 GB, free: 10.91 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.218e-05/0.6336, allocations: 12.02 kB / 0.8714 GB, free: 10.9 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.6336, allocations: 0 / 0.8714 GB, free: 10.9 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.958e-05/0.6336, allocations: 4 kB / 0.8714 GB, free: 10.9 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.773e-05/0.6337, allocations: 4 kB / 0.8714 GB, free: 10.89 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.733e-06/0.6337, allocations: 7.938 kB / 0.8714 GB, free: 10.89 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.863e-05/0.6337, allocations: 3.906 kB / 0.8714 GB, free: 10.88 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.291e-06/0.6338, allocations: 0 / 0.8714 GB, free: 10.88 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 8.21e-05/0.6338, allocations: 112.9 kB / 0.8715 GB, free: 10.77 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.62e-05/0.6339, allocations: 128 / 0.8715 GB, free: 10.77 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001449/0.634, allocations: 65.73 kB / 0.8716 GB, free: 10.69 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.606e-06/0.634, allocations: 4 kB / 0.8716 GB, free: 10.69 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.6341, allocations: 0 / 0.8716 GB, free: 10.69 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.6341, allocations: 0 / 0.8716 GB, free: 10.69 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000158/0.6342, allocations: 142.2 kB / 0.8717 GB, free: 10.51 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.6342, allocations: 3.953 kB / 0.8717 GB, free: 10.51 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.503e-05/0.6343, allocations: 8 kB / 0.8717 GB, free: 10.5 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.524e-06/0.6343, allocations: 0 / 0.8717 GB, free: 10.5 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.063e-06/0.6343, allocations: 0 / 0.8717 GB, free: 10.5 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-06/0.6343, allocations: 4 kB / 0.8717 GB, free: 10.5 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.796e-06/0.6343, allocations: 0 / 0.8717 GB, free: 10.5 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001338/0.6345, allocations: 143.5 kB / 0.8719 GB, free: 10.34 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 3.713e-05/0.6345, allocations: 81.06 kB / 0.8719 GB, free: 10.24 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.49e-05/0.6345, allocations: 7.922 kB / 0.872 GB, free: 10.23 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.366e-05/0.6346, allocations: 0 / 0.872 GB, free: 10.23 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.774e-05/0.6346, allocations: 8 kB / 0.872 GB, free: 10.23 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.246e-06/0.6346, allocations: 0 / 0.872 GB, free: 10.23 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 3.708e-05/0.6346, allocations: 83.66 kB / 0.872 GB, free: 10.14 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6346, allocations: 0 / 0.872 GB, free: 10.14 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002493/0.6349, allocations: 16 kB / 0.8721 GB, free: 10.13 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0002253/0.6351, allocations: 127.2 kB / 0.8722 GB, free: 9.996 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 8.409e-05/0.6352, allocations: 16.14 kB / 0.8722 GB, free: 9.98 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.6352, allocations: 0 / 0.8722 GB, free: 9.98 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 1.911e-05/0.6353, allocations: 19.97 kB / 0.8722 GB, free: 9.961 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000149/0.6354, allocations: 3.938 kB / 0.8722 GB, free: 9.957 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002215/0.6357, allocations: 68.09 kB / 0.8723 GB, free: 9.867 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002759/0.6359, allocations: 0.6807 MB / 0.8729 GB, free: 9.16 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 3.746e-05/0.636, allocations: 4 kB / 0.873 GB, free: 9.156 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.128e-05/0.636, allocations: 11.44 kB / 0.873 GB, free: 9.145 MB / 0.5417 GB Notification: Performance of SimCode: time 2.2e-07/0.636, allocations: 0 / 0.873 GB, free: 9.145 MB / 0.5417 GB Notification: Performance of Templates: time 0.00258/0.6386, allocations: 487.4 kB / 0.8734 GB, free: 8.676 MB / 0.5417 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & ./BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1)