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.0009094/0.0009094, allocations: 80.81 kB / 19.94 MB, free: 4.543 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.0009488/0.0009488, allocations: 173 kB / 23.36 MB, free: 1.129 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 1.022/1.022, 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.001808/0.001808, allocations: 242.8 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.7559/0.7559, allocations: 138.4 MB / 402.2 MB, free: 0.5156 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.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 2.074e-06/2.074e-06, allocations: 0 / 462.3 MB, free: 0.8867 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.404e-05/1.611e-05, allocations: 5.438 kB / 462.4 MB, free: 0.8828 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.001892/0.001908, allocations: 1.347 MB / 463.7 MB, free: 16 kB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008466/0.002755, allocations: 0.559 MB / 464.3 MB, free: 15.67 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.399e-05/0.002779, allocations: 1.125 kB / 464.3 MB, free: 15.67 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 1.815e-05/0.002797, allocations: 4.906 kB / 464.3 MB, free: 15.66 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 4.319e-05/0.00284, allocations: 2.391 kB / 464.3 MB, free: 15.66 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004415/0.003282, allocations: 142.7 kB / 464.4 MB, free: 15.61 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 4.856e-05/0.00333, allocations: 10.14 kB / 464.4 MB, free: 15.6 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.707e-05/0.003368, allocations: 6.609 kB / 464.4 MB, free: 15.6 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.362e-05/0.003401, allocations: 4.703 kB / 464.4 MB, free: 15.6 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.059e-05/0.003442, allocations: 4.625 kB / 464.4 MB, free: 15.6 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.16e-05/0.003453, allocations: 1.375 kB / 464.4 MB, free: 15.6 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003898/0.003843, allocations: 273.5 kB / 464.7 MB, free: 15.54 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 1.291e-05/0.003856, allocations: 1.641 kB / 464.7 MB, free: 15.54 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 1.464e-05/0.003871, allocations: 6.953 kB / 464.7 MB, free: 15.53 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000213/0.004084, allocations: 152.7 kB / 464.9 MB, free: 15.48 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.365e-06/0.004086, allocations: 0.7812 kB / 464.9 MB, free: 15.48 MB / 426.7 MB Notification: Performance of FrontEnd: time 5.01e-07/0.004087, allocations: 0.9688 kB / 464.9 MB, free: 15.48 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.296e-06/0.00409, allocations: 1.406 kB / 464.9 MB, free: 15.48 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002559/0.004346, allocations: 250.7 kB / 465.1 MB, free: 15.23 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.267e-05/0.004378, allocations: 10.25 kB / 465.1 MB, free: 15.23 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.144e-05/0.0044, allocations: 3.031 kB / 465.1 MB, free: 15.23 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.313e-05/0.004483, allocations: 118 kB / 465.2 MB, free: 15.09 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.977e-06/0.004492, allocations: 0.9375 kB / 465.2 MB, free: 15.09 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.212e-06/0.004498, allocations: 4.016 kB / 465.2 MB, free: 15.09 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.593e-05/0.004554, allocations: 32.33 kB / 465.3 MB, free: 15.06 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.693e-06/0.004561, allocations: 192 / 465.3 MB, free: 15.06 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.555e-06/0.004568, allocations: 4.375 kB / 465.3 MB, free: 15.06 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.004574, allocations: 2.188 kB / 465.3 MB, free: 15.06 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.213e-05/0.004586, allocations: 7.266 kB / 465.3 MB, free: 15.05 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.377e-05/0.00467, allocations: 56.95 kB / 465.3 MB, free: 14.99 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.756e-05/0.004707, allocations: 25.06 kB / 465.4 MB, free: 14.96 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.142e-05/0.004719, allocations: 6.391 kB / 465.4 MB, free: 14.95 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.237e-05/0.004731, allocations: 4.172 kB / 465.4 MB, free: 14.95 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.967e-05/0.004751, allocations: 31.94 kB / 465.4 MB, free: 14.91 MB / 426.7 MB Notification: Performance of pre-optimization done (n=2): time 5.31e-07/0.004751, allocations: 0 / 465.4 MB, free: 14.91 MB / 426.7 MB Notification: Performance of matching and sorting (n=2): time 8.078e-05/0.004832, allocations: 34.36 kB / 465.4 MB, free: 14.88 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.993e-05/0.004862, allocations: 57.33 kB / 465.5 MB, free: 14.82 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.877e-05/0.004911, allocations: 104.2 kB / 465.6 MB, free: 14.71 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.022e-05/0.004921, allocations: 29.7 kB / 465.6 MB, free: 14.67 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.898e-05/0.00494, allocations: 84.06 kB / 465.7 MB, free: 14.59 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.161e-05/0.004962, allocations: 7.422 kB / 465.7 MB, free: 14.59 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.996e-05/0.004982, allocations: 13.45 kB / 465.7 MB, free: 14.57 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.2e-05/0.005054, allocations: 317.5 kB / 466 MB, free: 14.25 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.871e-06/0.005059, allocations: 1.062 kB / 466 MB, free: 14.25 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.284e-06/0.005067, allocations: 4.672 kB / 466 MB, free: 14.25 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.064e-05/0.005087, allocations: 10.73 kB / 466.1 MB, free: 14.25 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.005089, allocations: 0 / 466.1 MB, free: 14.25 MB / 426.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 3.572e-05/0.005124, allocations: 35.67 kB / 466.1 MB, free: 14.21 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.063e-05/0.005135, allocations: 6.125 kB / 466.1 MB, free: 14.21 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.005139, allocations: 1.438 kB / 466.1 MB, free: 14.21 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.142e-05/0.005151, allocations: 3.938 kB / 466.1 MB, free: 14.21 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001063/0.005257, allocations: 9.906 kB / 466.1 MB, free: 14.21 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002407/0.005498, allocations: 0.5865 MB / 466.7 MB, free: 13.62 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.208e-05/0.00551, allocations: 2.938 kB / 466.7 MB, free: 13.62 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.318e-06/0.005514, allocations: 0 / 466.7 MB, free: 13.62 MB / 426.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 5.277e-05/0.005567, allocations: 116.7 kB / 466.8 MB, free: 13.5 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.011e-06/0.005573, allocations: 3.391 kB / 466.8 MB, free: 13.5 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.696e-05/0.00564, allocations: 46.8 kB / 466.9 MB, free: 13.46 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.005643, allocations: 5.266 kB / 466.9 MB, free: 13.45 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.625e-06/0.005646, allocations: 3.453 kB / 466.9 MB, free: 13.45 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.005648, allocations: 0 / 466.9 MB, free: 13.45 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.944e-05/0.005698, allocations: 62.5 kB / 466.9 MB, free: 13.38 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.005699, allocations: 2.312 kB / 466.9 MB, free: 13.38 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.199e-05/0.005741, allocations: 10.81 kB / 466.9 MB, free: 13.38 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.005743, allocations: 0.6094 kB / 466.9 MB, free: 13.38 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.456e-06/0.005746, allocations: 0 / 466.9 MB, free: 13.38 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001877/0.005934, allocations: 0.5785 MB / 467.5 MB, free: 12.79 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.005935, allocations: 2.641 kB / 467.5 MB, free: 12.79 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.786e-05/0.005983, allocations: 64.89 kB / 467.6 MB, free: 12.72 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.011e-05/0.005993, allocations: 11.84 kB / 467.6 MB, free: 12.71 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.544e-06/0.006001, allocations: 3.25 kB / 467.6 MB, free: 12.71 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.703e-06/0.006008, allocations: 0.75 kB / 467.6 MB, free: 12.71 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.076e-05/0.006018, allocations: 4.547 kB / 467.6 MB, free: 12.71 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.264e-06/0.006021, allocations: 1.719 kB / 467.6 MB, free: 12.71 MB / 426.7 MB Notification: Performance of sorting global known variables: time 8.736e-06/0.006029, allocations: 7.859 kB / 467.6 MB, free: 12.7 MB / 426.7 MB Notification: Performance of sort global known variables: time 4e-08/0.006029, allocations: 0 / 467.6 MB, free: 12.7 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001077/0.006137, allocations: 7.922 kB / 467.6 MB, free: 12.7 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.0001145/0.006252, allocations: 92.64 kB / 467.7 MB, free: 12.63 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 9.472e-05/0.006346, allocations: 22.14 kB / 467.7 MB, free: 12.62 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.00635, allocations: 5.812 kB / 467.7 MB, free: 12.62 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 3.378e-05/0.006384, allocations: 16.84 kB / 467.8 MB, free: 12.61 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.153e-05/0.006446, allocations: 1.859 kB / 467.8 MB, free: 12.61 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002276/0.006673, allocations: 102.6 kB / 467.9 MB, free: 12.5 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3e-05/0.006703, allocations: 55.28 kB / 467.9 MB, free: 12.43 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 1.284e-05/0.006716, allocations: 0 / 467.9 MB, free: 12.43 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.267e-05/0.006739, allocations: 50.28 kB / 468 MB, free: 12.39 MB / 426.7 MB Notification: Performance of SimCode: time 3.51e-07/0.006739, allocations: 1.906 kB / 468 MB, free: 12.39 MB / 426.7 MB Notification: Performance of Templates: time 0.002006/0.008745, allocations: 0.5323 MB / 468.5 MB, free: 12.24 MB / 426.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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.522438562940806]