Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.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.0009112/0.0009112, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001393/0.002304, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.000956/0.000956, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001387/0.002343, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.9861/0.9861, allocations: 177.2 MB / 189.7 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08954/1.076, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001345/0.001345, allocations: 238.8 kB / 244.4 MB, free: 14.53 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00122/0.002565, allocations: 475.3 kB / 244.8 MB, free: 14.07 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7111/0.7111, allocations: 138.7 MB / 384.3 MB, free: 364 kB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07417/0.7852, allocations: 42.41 MB / 426.7 MB, free: 5.824 MB / 410.7 MB " [Timeout remaining time 179] 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.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.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") translateModel(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 428.1 MB, free: 4.488 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.616e-05/1.766e-05, allocations: 2.312 kB / 428.1 MB, free: 4.484 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.001928/0.001946, allocations: 1.344 MB / 429.4 MB, free: 3.125 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005594/0.002505, allocations: 0.5642 MB / 430 MB, free: 2.559 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.586e-05/0.002521, allocations: 0 / 430 MB, free: 2.559 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 6.242e-06/0.002527, allocations: 0 / 430 MB, free: 2.559 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 1.974e-05/0.002547, allocations: 7.938 kB / 430 MB, free: 2.551 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000304/0.002851, allocations: 143.2 kB / 430.1 MB, free: 2.41 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 4.258e-05/0.002894, allocations: 7.938 kB / 430.1 MB, free: 2.402 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.194e-05/0.002926, allocations: 4 kB / 430.1 MB, free: 2.398 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.286e-05/0.002968, allocations: 7.984 kB / 430.1 MB, free: 2.391 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.69e-05/0.003015, allocations: 4 kB / 430.1 MB, free: 2.387 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.077e-05/0.003026, allocations: 0 / 430.1 MB, free: 2.387 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003158/0.003342, allocations: 279.4 kB / 430.4 MB, free: 2.113 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.27e-05/0.003355, allocations: 0 / 430.4 MB, free: 2.113 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.277e-05/0.003367, allocations: 4 kB / 430.4 MB, free: 2.109 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001838/0.003551, allocations: 123.6 kB / 430.5 MB, free: 1.988 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.056e-05/0.003562, allocations: 0 / 430.5 MB, free: 1.988 MB / 410.7 MB Notification: Performance of FrontEnd: time 6.71e-07/0.003562, allocations: 0 / 430.5 MB, free: 1.988 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.218e-06/0.003572, allocations: 0 / 430.5 MB, free: 1.988 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002987/0.00387, allocations: 280.2 kB / 430.8 MB, free: 1.688 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.079e-05/0.003901, allocations: 11.98 kB / 430.8 MB, free: 1.676 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.142e-05/0.003923, allocations: 4.922 kB / 430.8 MB, free: 1.672 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.133e-05/0.003994, allocations: 105.8 kB / 430.9 MB, free: 1.543 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.205e-06/0.004002, allocations: 384 / 430.9 MB, free: 1.543 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.041e-05/0.004012, allocations: 4.375 kB / 430.9 MB, free: 1.539 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.116e-05/0.004074, allocations: 26.27 kB / 431 MB, free: 1.508 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.833e-06/0.00408, allocations: 192 / 431 MB, free: 1.508 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.462e-06/0.004087, allocations: 384 / 431 MB, free: 1.508 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.004092, allocations: 4.375 kB / 431 MB, free: 1.504 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.266e-05/0.004105, allocations: 15.88 kB / 431 MB, free: 1.488 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.772e-05/0.004182, allocations: 65.03 kB / 431 MB, free: 1.41 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.576e-05/0.004218, allocations: 22.59 kB / 431.1 MB, free: 1.379 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.122e-05/0.004229, allocations: 4.859 kB / 431.1 MB, free: 1.371 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.59e-05/0.004245, allocations: 4.062 kB / 431.1 MB, free: 1.367 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.809e-05/0.004263, allocations: 30.56 kB / 431.1 MB, free: 1.328 MB / 410.7 MB Notification: Performance of pre-optimization done (n=2): time 5.51e-07/0.004264, allocations: 0 / 431.1 MB, free: 1.328 MB / 410.7 MB Notification: Performance of matching and sorting (n=2): time 7.661e-05/0.004341, allocations: 41.62 kB / 431.1 MB, free: 1.281 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.248e-05/0.004363, allocations: 55.47 kB / 431.2 MB, free: 1.215 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.83e-05/0.004411, allocations: 110.7 kB / 431.3 MB, free: 1.094 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.765e-06/0.004419, allocations: 25.7 kB / 431.3 MB, free: 1.062 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.717e-05/0.004436, allocations: 80.14 kB / 431.4 MB, free: 0.9805 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.152e-05/0.004458, allocations: 7.953 kB / 431.4 MB, free: 0.9727 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.862e-05/0.004476, allocations: 13.72 kB / 431.4 MB, free: 0.9531 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.394e-05/0.00454, allocations: 318.8 kB / 431.7 MB, free: 0.6328 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.391e-06/0.004546, allocations: 4 kB / 431.8 MB, free: 0.6289 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.088e-06/0.00455, allocations: 0 / 431.8 MB, free: 0.6289 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.719e-05/0.004567, allocations: 13.03 kB / 431.8 MB, free: 0.6133 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.664e-06/0.004569, allocations: 4 kB / 431.8 MB, free: 0.6094 MB / 410.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 2.981e-05/0.004599, allocations: 41.62 kB / 431.8 MB, free: 0.5625 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.06e-05/0.004609, allocations: 4 kB / 431.8 MB, free: 0.5586 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.576e-06/0.004613, allocations: 0 / 431.8 MB, free: 0.5586 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.326e-06/0.004621, allocations: 0 / 431.8 MB, free: 0.5586 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.653e-05/0.004718, allocations: 8 kB / 431.8 MB, free: 0.5508 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1799/0.1847, allocations: 0.581 MB / 432.4 MB, free: 2.031 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.226e-05/0.1847, allocations: 0.9688 kB / 432.4 MB, free: 2.031 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.139e-05/0.1847, allocations: 1.469 kB / 432.4 MB, free: 2.031 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 6.805e-05/0.1848, allocations: 109.7 kB / 432.5 MB, free: 1.918 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.462e-05/0.1848, allocations: 4.656 kB / 432.5 MB, free: 1.918 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001515/0.185, allocations: 41.38 kB / 432.6 MB, free: 1.887 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-06/0.185, allocations: 3.375 kB / 432.6 MB, free: 1.887 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.093e-06/0.185, allocations: 1.281 kB / 432.6 MB, free: 1.887 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.185, allocations: 1.484 kB / 432.6 MB, free: 1.887 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.495e-05/0.1851, allocations: 63 kB / 432.6 MB, free: 1.812 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.1851, allocations: 1.375 kB / 432.6 MB, free: 1.812 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001036/0.1852, allocations: 9.797 kB / 432.6 MB, free: 1.812 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.012e-05/0.1852, allocations: 1.25 kB / 432.6 MB, free: 1.812 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.43e-06/0.1852, allocations: 0.5625 kB / 432.6 MB, free: 1.812 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.013e-06/0.1852, allocations: 5.047 kB / 432.6 MB, free: 1.812 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002478/0.1854, allocations: 0.5827 MB / 433.2 MB, free: 17.23 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.015e-06/0.1854, allocations: 1.281 kB / 433.2 MB, free: 17.23 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.439e-05/0.1855, allocations: 64.64 kB / 433.3 MB, free: 17.17 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.252e-05/0.1855, allocations: 3.5 kB / 433.3 MB, free: 17.17 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.195e-05/0.1855, allocations: 1.969 kB / 433.3 MB, free: 17.17 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.854e-05/0.1855, allocations: 2.859 kB / 433.3 MB, free: 17.17 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.148e-06/0.1856, allocations: 0.9375 kB / 433.3 MB, free: 17.17 MB / 426.7 MB Notification: Performance of sorting global known variables: time 2.292e-05/0.1856, allocations: 8.875 kB / 433.3 MB, free: 17.16 MB / 426.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1856, allocations: 0 / 433.3 MB, free: 17.16 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001716/0.1857, allocations: 21.38 kB / 433.3 MB, free: 17.16 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 (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002548/0.186, allocations: 106 kB / 433.4 MB, free: 17.09 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001204/0.1861, allocations: 16.7 kB / 433.4 MB, free: 17.09 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.703e-06/0.1861, allocations: 1.469 kB / 433.4 MB, free: 17.09 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 3.253e-05/0.1862, allocations: 20.31 kB / 433.5 MB, free: 17.08 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.534e-05/0.1863, allocations: 10.12 kB / 433.5 MB, free: 17.07 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005535/0.1868, allocations: 103.5 kB / 433.6 MB, free: 16.98 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.393e-05/0.1869, allocations: 56.48 kB / 433.6 MB, free: 16.91 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 2.929e-05/0.1869, allocations: 3.969 kB / 433.6 MB, free: 16.91 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.835e-05/0.1869, allocations: 50.16 kB / 433.7 MB, free: 16.87 MB / 426.7 MB Notification: Performance of SimCode: time 1.092e-06/0.1869, allocations: 0 / 433.7 MB, free: 16.87 MB / 426.7 MB Notification: Performance of Templates: time 0.002275/0.1892, allocations: 0.5243 MB / 434.2 MB, free: 16.87 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & ./BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.394890069961548]