Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.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.001125/0.001125, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001606/0.002731, allocations: 435.8 kB / 10.33 MB, free: 368 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.00109/0.00109, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00169/0.00278, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.9415/0.9415, allocations: 177.1 MB / 189.6 MB, free: 5.332 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09631/1.038, allocations: 53.65 MB / 243.2 MB, free: 15.61 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.002072/0.002072, allocations: 242 kB / 244.2 MB, free: 14.65 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001776/0.003848, allocations: 471 kB / 244.7 MB, free: 14.19 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.7219/0.7219, allocations: 138.7 MB / 384.1 MB, free: 0.4961 MB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07655/0.7985, allocations: 42.4 MB / 426.5 MB, free: 5.957 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_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") translateModel(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.323e-06/1.323e-06, allocations: 0 / 427.8 MB, free: 4.652 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.103e-05/1.235e-05, allocations: 10.25 kB / 427.8 MB, free: 4.641 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.001815/0.001828, allocations: 1.337 MB / 429.1 MB, free: 3.289 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006847/0.002512, allocations: 0.5642 MB / 429.7 MB, free: 2.723 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.591e-05/0.002528, allocations: 3.938 kB / 429.7 MB, free: 2.719 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 7.253e-06/0.002535, allocations: 0 / 429.7 MB, free: 2.719 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 1.898e-05/0.002554, allocations: 3.984 kB / 429.7 MB, free: 2.715 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003277/0.002882, allocations: 143.2 kB / 429.8 MB, free: 2.574 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 4.791e-05/0.00293, allocations: 11.94 kB / 429.8 MB, free: 2.562 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.378e-05/0.002964, allocations: 3.984 kB / 429.9 MB, free: 2.559 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.341e-05/0.003007, allocations: 8 kB / 429.9 MB, free: 2.551 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.326e-05/0.00305, allocations: 8 kB / 429.9 MB, free: 2.543 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.067e-05/0.003061, allocations: 0 / 429.9 MB, free: 2.543 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00644/0.009501, allocations: 279.4 kB / 430.1 MB, free: 2.27 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.104e-05/0.009512, allocations: 0 / 430.1 MB, free: 2.27 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.491e-05/0.009527, allocations: 4 kB / 430.1 MB, free: 2.266 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002342/0.009762, allocations: 119.6 kB / 430.3 MB, free: 2.148 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.419e-05/0.009776, allocations: 3.984 kB / 430.3 MB, free: 2.145 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.009777, allocations: 0 / 430.3 MB, free: 2.145 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.574e-05/0.009792, allocations: 0 / 430.3 MB, free: 2.145 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.0003317/0.01012, allocations: 272.3 kB / 430.5 MB, free: 1.852 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.834e-05/0.01015, allocations: 12.03 kB / 430.5 MB, free: 1.84 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.303e-05/0.01018, allocations: 0.9375 kB / 430.5 MB, free: 1.84 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.765e-05/0.01025, allocations: 113.8 kB / 430.7 MB, free: 1.703 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.457e-06/0.01026, allocations: 384 / 430.7 MB, free: 1.703 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.52e-06/0.01027, allocations: 384 / 430.7 MB, free: 1.703 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.078e-05/0.01033, allocations: 34.2 kB / 430.7 MB, free: 1.664 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.001e-06/0.01033, allocations: 192 / 430.7 MB, free: 1.664 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.511e-06/0.01034, allocations: 384 / 430.7 MB, free: 1.664 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.101e-06/0.01035, allocations: 4.359 kB / 430.7 MB, free: 1.66 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.675e-05/0.01036, allocations: 11.94 kB / 430.7 MB, free: 1.648 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.941e-05/0.01044, allocations: 61.05 kB / 430.8 MB, free: 1.574 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.978e-05/0.01048, allocations: 18.61 kB / 430.8 MB, free: 1.547 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.119e-05/0.01049, allocations: 4.859 kB / 430.8 MB, free: 1.539 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.793e-05/0.01051, allocations: 3.938 kB / 430.8 MB, free: 1.535 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.192e-05/0.01053, allocations: 34.62 kB / 430.8 MB, free: 1.492 MB / 410.7 MB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.01053, allocations: 3.938 kB / 430.8 MB, free: 1.488 MB / 410.7 MB Notification: Performance of matching and sorting (n=2): time 8.219e-05/0.01062, allocations: 37.69 kB / 430.9 MB, free: 1.445 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.912e-05/0.01065, allocations: 51.41 kB / 430.9 MB, free: 1.383 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.151e-05/0.0107, allocations: 98.84 kB / 431 MB, free: 1.273 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.032e-05/0.01071, allocations: 33.83 kB / 431 MB, free: 1.234 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.086e-05/0.01073, allocations: 80.14 kB / 431.1 MB, free: 1.152 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.212e-05/0.01075, allocations: 3.953 kB / 431.1 MB, free: 1.148 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.835e-05/0.01078, allocations: 25.69 kB / 431.2 MB, free: 1.117 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.678e-05/0.01086, allocations: 314.8 kB / 431.5 MB, free: 0.8008 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.893e-06/0.01086, allocations: 3.938 kB / 431.5 MB, free: 0.7969 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.639e-06/0.01087, allocations: 4 kB / 431.5 MB, free: 0.793 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.862e-05/0.01089, allocations: 8.859 kB / 431.5 MB, free: 0.7812 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.01089, allocations: 0 / 431.5 MB, free: 0.7812 MB / 410.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.25e-05/0.01093, allocations: 41.75 kB / 431.5 MB, free: 0.7344 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.037e-05/0.01094, allocations: 4 kB / 431.5 MB, free: 0.7305 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.818e-06/0.01094, allocations: 0 / 431.5 MB, free: 0.7305 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.335e-06/0.01095, allocations: 0 / 431.5 MB, free: 0.7305 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001172/0.01107, allocations: 11.98 kB / 431.5 MB, free: 0.7188 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002524/0.01132, allocations: 0.5898 MB / 432.1 MB, free: 108 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.269e-05/0.01133, allocations: 0 / 432.1 MB, free: 108 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.077e-06/0.01134, allocations: 0 / 432.1 MB, free: 108 kB / 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 0.1965/0.2078, allocations: 113.3 kB / 432.2 MB, free: 2.555 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.888e-05/0.2079, allocations: 1.75 kB / 432.2 MB, free: 2.555 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000108/0.208, allocations: 38.45 kB / 432.3 MB, free: 2.523 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.928e-06/0.208, allocations: 4.812 kB / 432.3 MB, free: 2.523 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.194e-06/0.208, allocations: 1.031 kB / 432.3 MB, free: 2.523 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.208, allocations: 0 / 432.3 MB, free: 2.523 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.217e-05/0.208, allocations: 62.92 kB / 432.3 MB, free: 2.449 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.208, allocations: 1.125 kB / 432.3 MB, free: 2.449 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.629e-05/0.2081, allocations: 8.672 kB / 432.3 MB, free: 2.449 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.905e-06/0.2081, allocations: 3.797 kB / 432.4 MB, free: 2.449 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.2081, allocations: 0 / 432.4 MB, free: 2.449 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.118e-06/0.2081, allocations: 6.469 kB / 432.4 MB, free: 2.449 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001286/0.2083, allocations: 0.5797 MB / 432.9 MB, free: 1.867 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/0.2083, allocations: 1.859 kB / 432.9 MB, free: 1.867 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.524e-05/0.2083, allocations: 62.62 kB / 433 MB, free: 1.805 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.143e-06/0.2083, allocations: 1.078 kB / 433 MB, free: 1.805 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.468e-06/0.2083, allocations: 6.719 kB / 433 MB, free: 1.805 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.418e-06/0.2083, allocations: 4.578 kB / 433 MB, free: 1.805 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.617e-06/0.2083, allocations: 0.625 kB / 433 MB, free: 1.805 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.019e-05/0.2083, allocations: 7.969 kB / 433 MB, free: 1.797 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2083, allocations: 1.594 kB / 433 MB, free: 1.797 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000123/0.2085, allocations: 24.44 kB / 433 MB, free: 1.797 MB / 410.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.000128/0.2086, allocations: 102 kB / 433.1 MB, free: 1.73 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 7.351e-05/0.2087, allocations: 17.61 kB / 433.2 MB, free: 1.723 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.2087, allocations: 1.812 kB / 433.2 MB, free: 1.723 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.04e-05/0.2087, allocations: 15.03 kB / 433.2 MB, free: 1.715 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 4.686e-05/0.2087, allocations: 4.312 kB / 433.2 MB, free: 1.715 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000358/0.2091, allocations: 109 kB / 433.3 MB, free: 1.621 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.43e-05/0.2091, allocations: 52.98 kB / 433.3 MB, free: 1.551 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 2.419e-05/0.2091, allocations: 6.078 kB / 433.3 MB, free: 1.551 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.749e-05/0.2092, allocations: 48.53 kB / 433.4 MB, free: 1.508 MB / 410.7 MB Notification: Performance of SimCode: time 5.21e-07/0.2092, allocations: 3.312 kB / 433.4 MB, free: 1.508 MB / 410.7 MB Notification: Performance of Templates: time 0.001689/0.2108, allocations: 0.5144 MB / 433.9 MB, free: 1.508 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & ./BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.3908153641968966]