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/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009727/0.0009727, allocations: 80.88 kB / 19.94 MB, free: 4.547 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009686/0.0009686, allocations: 181 kB / 23.36 MB, free: 1.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9144/0.9144, allocations: 177.1 MB / 203.8 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002078/0.002078, allocations: 245.9 kB / 260.5 MB, free: 12.7 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.7895/0.7895, allocations: 138.4 MB / 402.2 MB, free: 0.5664 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") translateModel(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.233e-06/1.233e-06, allocations: 0 / 462.3 MB, free: 0.8633 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.998e-05/3.121e-05, allocations: 3.078 kB / 462.3 MB, free: 0.8594 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.002076/0.002107, allocations: 1.335 MB / 463.6 MB, free: 15.98 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008581/0.002965, allocations: 0.5684 MB / 464.2 MB, free: 15.63 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.09e-05/0.003006, allocations: 1.438 kB / 464.2 MB, free: 15.63 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 2.047e-05/0.003026, allocations: 0.75 kB / 464.2 MB, free: 15.63 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 5.551e-05/0.003082, allocations: 9.312 kB / 464.2 MB, free: 15.63 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005708/0.003653, allocations: 143.6 kB / 464.4 MB, free: 15.57 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 7.904e-05/0.003732, allocations: 25.53 kB / 464.4 MB, free: 15.56 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.21e-05/0.003774, allocations: 4.156 kB / 464.4 MB, free: 15.56 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.181e-05/0.003816, allocations: 12.03 kB / 464.4 MB, free: 15.56 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.57e-05/0.003871, allocations: 8.031 kB / 464.4 MB, free: 15.56 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.346e-05/0.003885, allocations: 1.844 kB / 464.4 MB, free: 15.56 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004195/0.004304, allocations: 270.9 kB / 464.7 MB, free: 15.49 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 1.89e-05/0.004323, allocations: 5.938 kB / 464.7 MB, free: 15.49 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 1.84e-05/0.004342, allocations: 4.5 kB / 464.7 MB, free: 15.49 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002376/0.004579, allocations: 158.4 kB / 464.8 MB, free: 15.44 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.574e-06/0.004582, allocations: 0 / 464.8 MB, free: 15.44 MB / 426.7 MB Notification: Performance of FrontEnd: time 9.31e-07/0.004583, allocations: 0.625 kB / 464.8 MB, free: 15.44 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.367e-06/0.004586, allocations: 1.156 kB / 464.8 MB, free: 15.44 MB / 426.7 MB 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.0003216/0.004908, allocations: 263 kB / 465.1 MB, free: 15.18 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/0.004946, allocations: 9.938 kB / 465.1 MB, free: 15.18 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.332e-05/0.004969, allocations: 5.875 kB / 465.1 MB, free: 15.18 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.03e-05/0.00505, allocations: 112.9 kB / 465.2 MB, free: 15.05 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.137e-05/0.005061, allocations: 2.281 kB / 465.2 MB, free: 15.05 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.337e-05/0.005074, allocations: 2.625 kB / 465.2 MB, free: 15.05 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.786e-05/0.005152, allocations: 45.97 kB / 465.3 MB, free: 15.01 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.354e-06/0.00516, allocations: 2.609 kB / 465.3 MB, free: 15.01 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.791e-06/0.005165, allocations: 0.9375 kB / 465.3 MB, free: 15.01 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.00517, allocations: 384 / 465.3 MB, free: 15.01 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.251e-05/0.005193, allocations: 13.09 kB / 465.3 MB, free: 15 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001936/0.005387, allocations: 162.3 kB / 465.5 MB, free: 14.85 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001315/0.005518, allocations: 32.73 kB / 465.5 MB, free: 14.83 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.85e-05/0.005537, allocations: 17.39 kB / 465.5 MB, free: 14.82 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.458e-05/0.005551, allocations: 1.953 kB / 465.5 MB, free: 14.82 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.204e-05/0.005573, allocations: 32.48 kB / 465.5 MB, free: 14.78 MB / 426.7 MB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.005574, allocations: 1.594 kB / 465.5 MB, free: 14.78 MB / 426.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001004/0.005675, allocations: 47.73 kB / 465.6 MB, free: 14.74 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.985e-05/0.005704, allocations: 57.62 kB / 465.6 MB, free: 14.68 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.624e-05/0.005761, allocations: 104.1 kB / 465.7 MB, free: 14.57 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 8.305e-06/0.005769, allocations: 26.48 kB / 465.8 MB, free: 14.54 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.556e-05/0.005805, allocations: 82.55 kB / 465.9 MB, free: 14.45 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.028e-05/0.005815, allocations: 15.3 kB / 465.9 MB, free: 14.44 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.797e-05/0.005843, allocations: 20.11 kB / 465.9 MB, free: 14.42 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.055e-05/0.005933, allocations: 321.3 kB / 466.2 MB, free: 14.1 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.376e-06/0.005942, allocations: 3.406 kB / 466.2 MB, free: 14.1 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.941e-05/0.005961, allocations: 16.23 kB / 466.2 MB, free: 14.09 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.12e-05/0.005992, allocations: 24.38 kB / 466.2 MB, free: 14.07 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.005995, allocations: 0.75 kB / 466.2 MB, free: 14.07 MB / 426.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 5.9e-05/0.006054, allocations: 54.27 kB / 466.3 MB, free: 14.03 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.201e-05/0.006066, allocations: 5.438 kB / 466.3 MB, free: 14.03 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.00607, allocations: 0 / 466.3 MB, free: 14.03 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.069e-05/0.00608, allocations: 2.625 kB / 466.3 MB, free: 14.03 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.495e-05/0.006115, allocations: 12.14 kB / 466.3 MB, free: 14.03 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.927e-06/0.006119, allocations: 2.219 kB / 466.3 MB, free: 14.03 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.571e-05/0.006135, allocations: 6.734 kB / 466.3 MB, free: 14.02 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.047e-06/0.006139, allocations: 1.594 kB / 466.3 MB, free: 14.02 MB / 426.7 MB 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.094e-05/0.00619, allocations: 113.8 kB / 466.4 MB, free: 13.91 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.324e-05/0.006203, allocations: 2.094 kB / 466.4 MB, free: 13.91 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.634e-05/0.00629, allocations: 53.83 kB / 466.5 MB, free: 13.87 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.006292, allocations: 2.375 kB / 466.5 MB, free: 13.87 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.234e-06/0.006294, allocations: 4.812 kB / 466.5 MB, free: 13.86 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.006297, allocations: 0 / 466.5 MB, free: 13.86 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.176e-05/0.006389, allocations: 74.19 kB / 466.6 MB, free: 13.78 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.006391, allocations: 1.406 kB / 466.6 MB, free: 13.78 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.18e-05/0.006412, allocations: 5.844 kB / 466.6 MB, free: 13.78 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.006415, allocations: 1.281 kB / 466.6 MB, free: 13.78 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.31e-06/0.006421, allocations: 5.719 kB / 466.6 MB, free: 13.78 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.887e-06/0.006424, allocations: 3.078 kB / 466.6 MB, free: 13.78 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.006426, allocations: 0.5 kB / 466.6 MB, free: 13.78 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.919e-05/0.006515, allocations: 142.7 kB / 466.7 MB, free: 13.64 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.063e-06/0.006523, allocations: 2.875 kB / 466.7 MB, free: 13.64 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.366e-06/0.006531, allocations: 0.5156 kB / 466.7 MB, free: 13.64 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.61e-05/0.006557, allocations: 6.219 kB / 466.7 MB, free: 13.64 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.144e-05/0.006568, allocations: 2.531 kB / 466.7 MB, free: 13.64 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.146e-06/0.006572, allocations: 0 / 466.7 MB, free: 13.64 MB / 426.7 MB Notification: Performance of sorting global known variables: time 1.105e-05/0.006583, allocations: 11.84 kB / 466.8 MB, free: 13.62 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006583, allocations: 2.281 kB / 466.8 MB, free: 13.62 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001539/0.006737, allocations: 22.27 kB / 466.8 MB, free: 13.62 MB / 426.7 MB 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 () * Number of clocked 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 (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.0001546/0.006891, allocations: 102.1 kB / 466.9 MB, free: 13.54 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 6.405e-05/0.006955, allocations: 28.59 kB / 466.9 MB, free: 13.53 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.006959, allocations: 1.188 kB / 466.9 MB, free: 13.53 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 1.104e-05/0.00697, allocations: 13.34 kB / 466.9 MB, free: 13.52 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.673e-05/0.007067, allocations: 2.094 kB / 466.9 MB, free: 13.52 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002101/0.007277, allocations: 119.5 kB / 467 MB, free: 13.4 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.177e-05/0.007309, allocations: 56.22 kB / 467.1 MB, free: 13.33 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 2.638e-05/0.007335, allocations: 7.922 kB / 467.1 MB, free: 13.33 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.605e-05/0.007372, allocations: 55.8 kB / 467.2 MB, free: 13.29 MB / 426.7 MB Notification: Performance of SimCode: time 5.51e-07/0.007372, allocations: 1.25 kB / 467.2 MB, free: 13.29 MB / 426.7 MB Notification: Performance of Templates: time 0.002137/0.009509, allocations: 0.5959 MB / 467.7 MB, free: 13.05 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.makefile [Timeout 660] (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=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.535597625654191]