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.001376/0.001376, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 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.001543/0.001543, allocations: 211.3 kB / 22.24 MB, free: 4.859 MB / 14.72 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 1.476/1.476, allocations: 230.6 MB / 256 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] 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.002577/0.002577, allocations: 285.5 kB / 312.7 MB, free: 2.617 MB / 238.1 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 1.299/1.299, allocations: 180.6 MB / 0.5369 GB, free: 14.61 MB / 382.1 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.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: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.004426/0.004426, allocations: 106.8 kB / 0.74 GB, free: 27.77 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1989/0.2033, allocations: 95.38 MB / 0.8331 GB, free: 7.855 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.002853/0.2061, allocations: 1.273 MB / 0.8344 GB, free: 6.57 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001108/0.2073, allocations: 0.5158 MB / 0.8349 GB, free: 6.055 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.459e-05/0.2073, allocations: 0 / 0.8349 GB, free: 6.055 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.524e-05/0.2073, allocations: 7.922 kB / 0.8349 GB, free: 6.047 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.604e-05/0.2073, allocations: 4 kB / 0.8349 GB, free: 6.043 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006506/0.208, allocations: 153.1 kB / 0.835 GB, free: 5.895 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 4.823e-05/0.208, allocations: 11.94 kB / 0.835 GB, free: 5.883 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.08e-05/0.2081, allocations: 0 / 0.835 GB, free: 5.883 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 1.791e-05/0.2081, allocations: 4 kB / 0.835 GB, free: 5.879 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 3.832e-05/0.2081, allocations: 3.938 kB / 0.8351 GB, free: 5.875 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.443e-05/0.2082, allocations: 4 kB / 0.8351 GB, free: 5.871 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004807/0.2086, allocations: 267.5 kB / 0.8353 GB, free: 5.609 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.737e-05/0.2087, allocations: 4 kB / 0.8353 GB, free: 5.605 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.339e-05/0.2087, allocations: 4 kB / 0.8353 GB, free: 5.602 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003258/0.209, allocations: 131.5 kB / 0.8354 GB, free: 5.473 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 8.045e-06/0.209, allocations: 4 kB / 0.8354 GB, free: 5.469 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.583e-06/0.209, allocations: 0 / 0.8354 GB, free: 5.469 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.781e-06/0.209, allocations: 4 kB / 0.8355 GB, free: 5.465 MB / 0.5762 GB 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.0004729/0.2095, allocations: 270.5 kB / 0.8357 GB, free: 5.168 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.599e-05/0.2095, allocations: 8.75 kB / 0.8357 GB, free: 5.16 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.407e-05/0.2096, allocations: 4.938 kB / 0.8357 GB, free: 5.156 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001487/0.2097, allocations: 110.5 kB / 0.8358 GB, free: 5.023 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.414e-05/0.2097, allocations: 384 / 0.8358 GB, free: 5.023 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.201e-05/0.2098, allocations: 8.375 kB / 0.8358 GB, free: 5.016 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001042/0.2099, allocations: 26.27 kB / 0.8359 GB, free: 4.984 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.2099, allocations: 192 / 0.8359 GB, free: 4.984 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.078e-05/0.2099, allocations: 7.938 kB / 0.8359 GB, free: 4.977 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.2099, allocations: 7.938 kB / 0.8359 GB, free: 4.969 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.417e-05/0.2099, allocations: 3.938 kB / 0.8359 GB, free: 4.965 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001838/0.2101, allocations: 109.3 kB / 0.836 GB, free: 4.828 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 6.553e-05/0.2102, allocations: 22.61 kB / 0.836 GB, free: 4.797 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.087e-05/0.2102, allocations: 8.797 kB / 0.836 GB, free: 4.785 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.181e-05/0.2102, allocations: 4 kB / 0.836 GB, free: 4.781 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.062e-05/0.2102, allocations: 34.62 kB / 0.8361 GB, free: 4.738 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.2102, allocations: 0 / 0.8361 GB, free: 4.738 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0001656/0.2104, allocations: 45.56 kB / 0.8361 GB, free: 4.688 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.099e-05/0.2104, allocations: 55.53 kB / 0.8361 GB, free: 4.621 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.897e-05/0.2105, allocations: 97.86 kB / 0.8362 GB, free: 4.516 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.538e-05/0.2106, allocations: 25.7 kB / 0.8363 GB, free: 4.484 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.305e-05/0.2106, allocations: 80.14 kB / 0.8363 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.71e-05/0.2106, allocations: 7.953 kB / 0.8363 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.33e-05/0.2107, allocations: 13.72 kB / 0.8364 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001633/0.2108, allocations: 318.8 kB / 0.8367 GB, free: 4.055 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.249e-05/0.2108, allocations: 0 / 0.8367 GB, free: 4.055 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.152e-05/0.2108, allocations: 4 kB / 0.8367 GB, free: 4.051 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.88e-05/0.2109, allocations: 20.98 kB / 0.8367 GB, free: 4.027 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.2109, allocations: 0 / 0.8367 GB, free: 4.027 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.049e-05/0.211, allocations: 37.69 kB / 0.8367 GB, free: 3.984 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/0.211, allocations: 5.562 kB / 0.8367 GB, free: 3.98 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.211, allocations: 0 / 0.8367 GB, free: 3.98 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/0.211, allocations: 7.938 kB / 0.8367 GB, free: 3.973 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001733/0.2112, allocations: 8 kB / 0.8367 GB, free: 3.965 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004567/0.2116, allocations: 0.5821 MB / 0.8373 GB, free: 3.359 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.323e-05/0.2116, allocations: 7.984 kB / 0.8373 GB, free: 3.352 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.771e-06/0.2117, allocations: 4.125 kB / 0.8373 GB, free: 3.348 MB / 0.5762 GB 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 9.831e-05/0.2118, allocations: 114.5 kB / 0.8374 GB, free: 3.227 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.245e-06/0.2118, allocations: 0 / 0.8374 GB, free: 3.227 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001344/0.2119, allocations: 48.94 kB / 0.8375 GB, free: 3.168 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.2119, allocations: 0 / 0.8375 GB, free: 3.168 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.2119, allocations: 0 / 0.8375 GB, free: 3.168 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.2119, allocations: 0 / 0.8375 GB, free: 3.168 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.287e-05/0.212, allocations: 101.3 kB / 0.8376 GB, free: 3.039 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.656e-06/0.212, allocations: 3.938 kB / 0.8376 GB, free: 3.035 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.252e-05/0.2121, allocations: 16.02 kB / 0.8376 GB, free: 3.02 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.2121, allocations: 0 / 0.8376 GB, free: 3.02 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.128e-06/0.2121, allocations: 7.938 kB / 0.8376 GB, free: 3.012 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000404/0.2125, allocations: 0.5937 MB / 0.8382 GB, free: 2.395 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.2125, allocations: 3.938 kB / 0.8382 GB, free: 2.391 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.573e-05/0.2126, allocations: 65.09 kB / 0.8383 GB, free: 2.309 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 6.522e-06/0.2126, allocations: 4 kB / 0.8383 GB, free: 2.305 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.281e-05/0.2126, allocations: 0 / 0.8383 GB, free: 2.305 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.436e-05/0.2126, allocations: 0 / 0.8383 GB, free: 2.305 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.569e-05/0.2126, allocations: 4.125 kB / 0.8383 GB, free: 2.301 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.849e-06/0.2126, allocations: 4 kB / 0.8383 GB, free: 2.297 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 5.349e-05/0.2127, allocations: 83.2 kB / 0.8383 GB, free: 2.215 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6e-08/0.2127, allocations: 0 / 0.8383 GB, free: 2.215 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002077/0.2129, allocations: 11.94 kB / 0.8384 GB, free: 2.203 MB / 0.5762 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 () * 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.0001955/0.2131, allocations: 111.2 kB / 0.8385 GB, free: 2.082 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001709/0.2133, allocations: 16 kB / 0.8385 GB, free: 2.066 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.2133, allocations: 0 / 0.8385 GB, free: 2.066 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 8.666e-05/0.2134, allocations: 16.14 kB / 0.8385 GB, free: 2.051 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001573/0.2135, allocations: 4 kB / 0.8385 GB, free: 2.047 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004308/0.2139, allocations: 110.2 kB / 0.8386 GB, free: 1.914 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.025e-05/0.214, allocations: 59.34 kB / 0.8387 GB, free: 1.836 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 1.833e-05/0.214, allocations: 3.906 kB / 0.8387 GB, free: 1.832 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.833e-05/0.214, allocations: 7.438 kB / 0.8387 GB, free: 1.824 MB / 0.5762 GB Notification: Performance of SimCode: time 5.01e-07/0.214, allocations: 4.062 kB / 0.8387 GB, free: 1.82 MB / 0.5762 GB Notification: Performance of Templates: time 0.003203/0.2172, allocations: 477.5 kB / 0.8391 GB, free: 1.391 MB / 0.5762 GB " [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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.290091602131724] Failed to read output from testmodel.py, exit status != 0: 0.22651613876223564 0.242318413 0.030023543000000003 Calling exit ...