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.0009643/0.0009643, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.001015/0.001015, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.9057/0.9057, allocations: 177.1 MB / 203.5 MB, free: 5.742 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.001404/0.001404, allocations: 229.3 kB / 260.2 MB, free: 13.03 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.6628/0.6628, allocations: 138.4 MB / 455.1 MB, free: 30.1 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 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 1.443e-06/1.443e-06, allocations: 3.938 kB / 0.6475 GB, free: 1.383 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.935e-05/2.079e-05, allocations: 4.953 kB / 0.6475 GB, free: 1.379 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.001421/0.001442, allocations: 1.271 MB / 0.6488 GB, free: 96 kB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.2543/0.2557, allocations: 0.5181 MB / 0.6493 GB, free: 56.38 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.453e-05/0.2558, allocations: 0 / 0.6493 GB, free: 56.38 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 2.538e-05/0.2558, allocations: 3.938 kB / 0.6493 GB, free: 56.38 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 5.462e-05/0.2559, allocations: 2.219 kB / 0.6493 GB, free: 56.38 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006653/0.2565, allocations: 145.6 kB / 0.6494 GB, free: 56.36 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 8.541e-05/0.2566, allocations: 11.5 kB / 0.6494 GB, free: 56.36 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 6.103e-05/0.2567, allocations: 3.812 kB / 0.6494 GB, free: 56.36 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 5.263e-05/0.2567, allocations: 5.047 kB / 0.6494 GB, free: 56.36 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 5.868e-05/0.2568, allocations: 4.25 kB / 0.6494 GB, free: 56.36 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.802e-05/0.2568, allocations: 0.5312 kB / 0.6494 GB, free: 56.36 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004606/0.2573, allocations: 274.9 kB / 0.6497 GB, free: 56.34 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 1.773e-05/0.2573, allocations: 2.203 kB / 0.6497 GB, free: 56.34 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 2.868e-05/0.2573, allocations: 6.047 kB / 0.6497 GB, free: 56.34 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.000288/0.2576, allocations: 147.9 kB / 0.6498 GB, free: 56.32 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.2576, allocations: 4.625 kB / 0.6499 GB, free: 56.32 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.314e-06/0.2576, allocations: 1.781 kB / 0.6499 GB, free: 56.32 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 6.552e-06/0.2576, allocations: 1.125 kB / 0.6499 GB, free: 56.32 MB / 0.5573 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.0004148/0.258, allocations: 273.5 kB / 0.6501 GB, free: 56.04 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.796e-05/0.2581, allocations: 10.44 kB / 0.6501 GB, free: 56.04 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.045e-05/0.2581, allocations: 3.156 kB / 0.6501 GB, free: 56.04 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.358e-05/0.2582, allocations: 109.8 kB / 0.6502 GB, free: 55.91 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.249e-05/0.2582, allocations: 384 / 0.6502 GB, free: 55.91 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.042e-05/0.2582, allocations: 1.219 kB / 0.6502 GB, free: 55.91 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001252/0.2583, allocations: 36.5 kB / 0.6503 GB, free: 55.88 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.264e-05/0.2584, allocations: 3.062 kB / 0.6503 GB, free: 55.88 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.303e-05/0.2584, allocations: 4.812 kB / 0.6503 GB, free: 55.88 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.283e-06/0.2584, allocations: 384 / 0.6503 GB, free: 55.88 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.012e-05/0.2584, allocations: 7.906 kB / 0.6503 GB, free: 55.87 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001381/0.2585, allocations: 102.1 kB / 0.6504 GB, free: 55.75 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 6.002e-05/0.2586, allocations: 24.8 kB / 0.6504 GB, free: 55.72 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.21e-05/0.2586, allocations: 8.375 kB / 0.6504 GB, free: 55.71 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.482e-05/0.2587, allocations: 3.766 kB / 0.6504 GB, free: 55.71 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.106e-05/0.2587, allocations: 34.39 kB / 0.6504 GB, free: 55.68 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=2): time 9.52e-07/0.2587, allocations: 0 / 0.6504 GB, free: 55.68 MB / 0.5573 GB Notification: Performance of matching and sorting (n=2): time 0.0001924/0.2589, allocations: 42.64 kB / 0.6505 GB, free: 55.64 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.075e-05/0.2589, allocations: 53.22 kB / 0.6505 GB, free: 55.58 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.941e-05/0.259, allocations: 99.53 kB / 0.6506 GB, free: 55.48 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 7.364e-06/0.259, allocations: 27.95 kB / 0.6507 GB, free: 55.45 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 1.683e-05/0.259, allocations: 81.7 kB / 0.6507 GB, free: 55.36 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 3.517e-05/0.259, allocations: 10.86 kB / 0.6508 GB, free: 55.36 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.693e-05/0.259, allocations: 14.64 kB / 0.6508 GB, free: 55.34 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 4.458e-05/0.2591, allocations: 314.2 kB / 0.6511 GB, free: 55.03 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.35e-05/0.2591, allocations: 2.25 kB / 0.6511 GB, free: 55.03 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.033e-05/0.2591, allocations: 3.75 kB / 0.6511 GB, free: 55.03 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.315e-05/0.2591, allocations: 13.16 kB / 0.6511 GB, free: 55.02 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.2591, allocations: 0 / 0.6511 GB, free: 55.02 MB / 0.5573 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.965e-05/0.2592, allocations: 44.88 kB / 0.6511 GB, free: 54.99 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.105e-05/0.2592, allocations: 7.594 kB / 0.6511 GB, free: 54.99 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.734e-06/0.2592, allocations: 1.781 kB / 0.6511 GB, free: 54.99 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/0.2593, allocations: 0 / 0.6511 GB, free: 54.99 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001894/0.2594, allocations: 9.734 kB / 0.6511 GB, free: 54.99 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002599/0.2597, allocations: 0.5856 MB / 0.6517 GB, free: 54.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.093e-05/0.2597, allocations: 0.5625 kB / 0.6517 GB, free: 54.4 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.052e-06/0.2597, allocations: 2.625 kB / 0.6517 GB, free: 54.4 MB / 0.5573 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 5.951e-05/0.2598, allocations: 111.1 kB / 0.6518 GB, free: 54.29 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.205e-06/0.2598, allocations: 6.047 kB / 0.6518 GB, free: 54.29 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001184/0.2599, allocations: 48.75 kB / 0.6519 GB, free: 54.25 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/0.2599, allocations: 2.719 kB / 0.6519 GB, free: 54.25 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.626e-06/0.2599, allocations: 0.9062 kB / 0.6519 GB, free: 54.25 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/0.2599, allocations: 6.094 kB / 0.6519 GB, free: 54.24 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.99e-05/0.26, allocations: 105 kB / 0.652 GB, free: 54.12 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/0.26, allocations: 1.312 kB / 0.652 GB, free: 54.12 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.243e-05/0.2601, allocations: 13.86 kB / 0.652 GB, free: 54.12 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.656e-06/0.2601, allocations: 1.938 kB / 0.652 GB, free: 54.12 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.047e-06/0.2601, allocations: 4.625 kB / 0.652 GB, free: 54.11 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001799/0.2603, allocations: 0.5784 MB / 0.6526 GB, free: 53.53 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.2603, allocations: 5.953 kB / 0.6526 GB, free: 53.53 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.153e-05/0.2603, allocations: 68.06 kB / 0.6526 GB, free: 53.46 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 1.187e-05/0.2603, allocations: 2.547 kB / 0.6526 GB, free: 53.46 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.227e-05/0.2603, allocations: 4.828 kB / 0.6526 GB, free: 53.46 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.183e-05/0.2604, allocations: 1.531 kB / 0.6527 GB, free: 53.46 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.891e-05/0.2604, allocations: 1.422 kB / 0.6527 GB, free: 53.46 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.179e-06/0.2604, allocations: 1.391 kB / 0.6527 GB, free: 53.46 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 2.299e-05/0.2604, allocations: 80.25 kB / 0.6527 GB, free: 53.39 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5e-08/0.2604, allocations: 0 / 0.6527 GB, free: 53.39 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0001537/0.2606, allocations: 10.91 kB / 0.6527 GB, free: 53.38 MB / 0.5573 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.0002312/0.2608, allocations: 113.9 kB / 0.6528 GB, free: 53.29 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0001917/0.261, allocations: 22 kB / 0.6529 GB, free: 53.29 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.261, allocations: 0 / 0.6529 GB, free: 53.29 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 3.972e-05/0.261, allocations: 14.58 kB / 0.6529 GB, free: 53.29 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001342/0.2612, allocations: 6.266 kB / 0.6529 GB, free: 53.29 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004306/0.2616, allocations: 129.2 kB / 0.653 GB, free: 53.16 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.554e-05/0.2616, allocations: 57.92 kB / 0.6531 GB, free: 53.09 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.181e-05/0.2616, allocations: 9.312 kB / 0.6531 GB, free: 53.09 MB / 0.5573 GB Notification: Performance of SimCode: time 7.22e-07/0.2616, allocations: 0 / 0.6531 GB, free: 53.09 MB / 0.5573 GB Notification: Performance of Templates: time 0.002304/0.264, allocations: 0.7156 MB / 0.6538 GB, free: 53.07 MB / 0.5573 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: 5.245438602752984] Failed to read output from testmodel.py, exit status != 0: 0.27291765715926886 0.28134406900000003 0.021921502000000002 Calling exit ...