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.8121/0.8121, allocations: 141.7 MB / 154.3 MB, free: 15.48 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001113/0.001113, allocations: 179 kB / 187.3 MB, free: 11.88 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.575/1.575, allocations: 221.3 MB / 441.4 MB, free: 4.633 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.0009175/0.0009175, allocations: 91.05 kB / 0.5124 GB, free: 24.19 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001847/0.001847, allocations: 273.6 kB / 0.5939 GB, free: 7.945 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.965e-05/3.971e-05, allocations: 4 kB / 0.6834 GB, free: 12.23 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4665/0.4665, allocations: 82.77 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1317/0.5983, allocations: 110.3 MB / 0.872 GB, free: 14.23 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002371/0.5986, allocations: 83.77 kB / 0.8721 GB, free: 14.15 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.01622/0.6148, allocations: 5.402 MB / 0.8774 GB, free: 8.742 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.843e-06/0.6149, allocations: 0 / 0.8774 GB, free: 8.742 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 7.084e-06/0.6149, allocations: 0 / 0.8774 GB, free: 8.742 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.0004177/0.6153, allocations: 355.8 kB / 0.8777 GB, free: 8.352 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.556e-05/0.6154, allocations: 8.031 kB / 0.8777 GB, free: 8.344 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.128e-05/0.6154, allocations: 0 / 0.8777 GB, free: 8.344 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001349/0.6155, allocations: 167 kB / 0.8779 GB, free: 8.141 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.072e-05/0.6156, allocations: 4 kB / 0.8779 GB, free: 8.137 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.574e-05/0.6156, allocations: 11.94 kB / 0.8779 GB, free: 8.125 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001118/0.6157, allocations: 37.7 kB / 0.8779 GB, free: 8.082 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.204e-06/0.6157, allocations: 0 / 0.8779 GB, free: 8.082 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.238e-06/0.6157, allocations: 0 / 0.8779 GB, free: 8.082 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.6158, allocations: 3.984 kB / 0.8779 GB, free: 8.078 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.738e-05/0.6158, allocations: 16 kB / 0.8779 GB, free: 8.062 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003622/0.6162, allocations: 252.9 kB / 0.8782 GB, free: 7.766 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002037/0.6164, allocations: 50.56 kB / 0.8782 GB, free: 7.707 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.586e-05/0.6165, allocations: 24.8 kB / 0.8783 GB, free: 7.68 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 1.867e-05/0.6165, allocations: 0 / 0.8783 GB, free: 7.68 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.255e-05/0.6165, allocations: 30.56 kB / 0.8783 GB, free: 7.641 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.6165, allocations: 4 kB / 0.8783 GB, free: 7.637 MB / 0.5417 GB Notification: Performance of matching and sorting (n=4): time 0.0001487/0.6167, allocations: 49.72 kB / 0.8783 GB, free: 7.582 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.368e-05/0.6167, allocations: 55.41 kB / 0.8784 GB, free: 7.516 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.141e-05/0.6168, allocations: 92.94 kB / 0.8785 GB, free: 7.418 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.745e-05/0.6168, allocations: 29.7 kB / 0.8785 GB, free: 7.383 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 4.794e-05/0.6169, allocations: 84.08 kB / 0.8786 GB, free: 7.297 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 1.835e-05/0.6169, allocations: 19.78 kB / 0.8786 GB, free: 7.277 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.795e-06/0.6169, allocations: 0 / 0.8786 GB, free: 7.277 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.000127/0.6171, allocations: 318.8 kB / 0.8789 GB, free: 6.957 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.752e-05/0.6171, allocations: 4 kB / 0.8789 GB, free: 6.953 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.529e-05/0.6171, allocations: 25.72 kB / 0.8789 GB, free: 6.922 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.514e-05/0.6172, allocations: 8.219 kB / 0.8789 GB, free: 6.914 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-06/0.6172, allocations: 0 / 0.8789 GB, free: 6.914 MB / 0.5417 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.893e-05/0.6173, allocations: 65.61 kB / 0.879 GB, free: 6.844 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.6173, allocations: 5.094 kB / 0.879 GB, free: 6.84 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.6173, allocations: 0 / 0.879 GB, free: 6.84 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.096e-05/0.6173, allocations: 4 kB / 0.879 GB, free: 6.836 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.581e-05/0.6174, allocations: 12.12 kB / 0.879 GB, free: 6.824 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.593e-06/0.6174, allocations: 0 / 0.879 GB, free: 6.824 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.538e-05/0.6174, allocations: 7.938 kB / 0.879 GB, free: 6.816 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.31e-06/0.6174, allocations: 0 / 0.879 GB, free: 6.816 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 7.313e-05/0.6175, allocations: 108.9 kB / 0.8791 GB, free: 6.703 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.102e-05/0.6175, allocations: 0 / 0.8791 GB, free: 6.703 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001429/0.6177, allocations: 65.11 kB / 0.8792 GB, free: 6.633 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.6177, allocations: 0 / 0.8792 GB, free: 6.633 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.6177, allocations: 0 / 0.8792 GB, free: 6.633 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.454e-06/0.6177, allocations: 0 / 0.8792 GB, free: 6.633 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001615/0.6179, allocations: 169.6 kB / 0.8794 GB, free: 6.418 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.6179, allocations: 0 / 0.8794 GB, free: 6.418 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.389e-05/0.6179, allocations: 8 kB / 0.8794 GB, free: 6.41 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.6179, allocations: 0 / 0.8794 GB, free: 6.41 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.953e-06/0.618, allocations: 4 kB / 0.8794 GB, free: 6.406 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.958e-06/0.618, allocations: 3.984 kB / 0.8794 GB, free: 6.402 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.618, allocations: 7.875 kB / 0.8794 GB, free: 6.395 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001193/0.6181, allocations: 147.4 kB / 0.8795 GB, free: 6.234 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 4.024e-05/0.6182, allocations: 85.02 kB / 0.8796 GB, free: 6.133 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.503e-05/0.6182, allocations: 4 kB / 0.8796 GB, free: 6.129 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.804e-05/0.6182, allocations: 4 kB / 0.8796 GB, free: 6.125 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.452e-05/0.6183, allocations: 0 / 0.8796 GB, free: 6.125 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.165e-06/0.6183, allocations: 0 / 0.8796 GB, free: 6.125 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 3.875e-05/0.6183, allocations: 83.27 kB / 0.8797 GB, free: 6.043 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6183, allocations: 0 / 0.8797 GB, free: 6.043 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.00024/0.6186, allocations: 24 kB / 0.8797 GB, free: 6.02 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.0002075/0.6188, allocations: 125.1 kB / 0.8798 GB, free: 5.891 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 8.608e-05/0.6189, allocations: 27.94 kB / 0.8799 GB, free: 5.863 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.6189, allocations: 0 / 0.8799 GB, free: 5.863 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 2.085e-05/0.6189, allocations: 11.98 kB / 0.8799 GB, free: 5.852 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001374/0.6191, allocations: 11.89 kB / 0.8799 GB, free: 5.84 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002159/0.6193, allocations: 65.23 kB / 0.8799 GB, free: 5.754 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002553/0.6196, allocations: 0.677 MB / 0.8806 GB, free: 5.051 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 3.645e-05/0.6196, allocations: 12.06 kB / 0.8806 GB, free: 5.039 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.492e-05/0.6196, allocations: 7.438 kB / 0.8806 GB, free: 5.031 MB / 0.5417 GB Notification: Performance of SimCode: time 2.6e-07/0.6196, allocations: 0 / 0.8806 GB, free: 5.031 MB / 0.5417 GB Notification: Performance of Templates: time 0.002406/0.622, allocations: 496 kB / 0.8811 GB, free: 4.555 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)