Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.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.001014/0.001014, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.00191/0.00191, allocations: 165 kB / 23.02 MB, free: 1.555 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.9565/0.9565, allocations: 177.1 MB / 203.4 MB, free: 5.648 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.00166/0.00166, allocations: 232.4 kB / 260.2 MB, free: 12.82 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.7386/0.7386, allocations: 138.4 MB / 455.2 MB, free: 1.547 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.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") translateModel(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.054e-06/2.054e-06, allocations: 3.938 kB / 0.5551 GB, free: 0.5273 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.624e-05/2.829e-05, allocations: 2.312 kB / 0.5551 GB, free: 0.5234 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.002182/0.00221, allocations: 1.517 MB / 0.5566 GB, free: 15 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008736/0.003084, allocations: 0.6032 MB / 0.5572 GB, free: 14.39 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.015e-05/0.003124, allocations: 0 / 0.5572 GB, free: 14.39 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.385e-05/0.003158, allocations: 3.938 kB / 0.5572 GB, free: 14.39 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 5.284e-05/0.00321, allocations: 7.922 kB / 0.5572 GB, free: 14.38 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000579/0.003789, allocations: 163.2 kB / 0.5573 GB, free: 14.22 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 8.943e-05/0.003879, allocations: 55.83 kB / 0.5574 GB, free: 14.16 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.337e-05/0.003922, allocations: 4 kB / 0.5574 GB, free: 14.16 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.935e-05/0.004002, allocations: 35.89 kB / 0.5574 GB, free: 14.12 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.891e-05/0.004041, allocations: 15.98 kB / 0.5575 GB, free: 14.11 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.911e-05/0.00406, allocations: 4 kB / 0.5575 GB, free: 14.11 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000332/0.004392, allocations: 275.4 kB / 0.5577 GB, free: 13.84 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.753e-05/0.004419, allocations: 19.92 kB / 0.5577 GB, free: 13.82 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 3.356e-05/0.004453, allocations: 19.97 kB / 0.5578 GB, free: 13.8 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002598/0.004712, allocations: 179.4 kB / 0.5579 GB, free: 13.62 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.004716, allocations: 0 / 0.5579 GB, free: 13.62 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.004717, allocations: 0 / 0.5579 GB, free: 13.62 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.58e-06/0.004723, allocations: 0 / 0.5579 GB, free: 13.62 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.000475/0.005198, allocations: 428 kB / 0.5583 GB, free: 13.16 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.581e-05/0.005254, allocations: 16.73 kB / 0.5584 GB, free: 13.15 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.505e-05/0.005299, allocations: 4.938 kB / 0.5584 GB, free: 13.14 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.873e-05/0.005397, allocations: 124.5 kB / 0.5585 GB, free: 13 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.923e-05/0.005427, allocations: 8.375 kB / 0.5585 GB, free: 12.99 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.761e-05/0.005454, allocations: 4.375 kB / 0.5585 GB, free: 12.98 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001868/0.005641, allocations: 134.1 kB / 0.5586 GB, free: 12.84 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.005652, allocations: 192 / 0.5586 GB, free: 12.84 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.343e-05/0.005665, allocations: 8.375 kB / 0.5586 GB, free: 12.83 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.742e-06/0.005672, allocations: 384 / 0.5586 GB, free: 12.83 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.156e-05/0.005723, allocations: 27.92 kB / 0.5587 GB, free: 12.8 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004593/0.006183, allocations: 307.6 kB / 0.5589 GB, free: 12.46 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001387/0.006321, allocations: 75.02 kB / 0.559 GB, free: 12.38 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.118e-05/0.006352, allocations: 27.61 kB / 0.559 GB, free: 12.35 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.579e-05/0.006378, allocations: 4 kB / 0.559 GB, free: 12.34 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.84e-05/0.006407, allocations: 37.33 kB / 0.5591 GB, free: 12.3 MB / 490.7 MB Notification: Performance of pre-optimization done (n=7): time 1.182e-06/0.006408, allocations: 0 / 0.5591 GB, free: 12.3 MB / 490.7 MB Notification: Performance of matching and sorting (n=11): time 0.001101/0.007509, allocations: 456.7 kB / 0.5595 GB, free: 11.79 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.74e-05/0.007536, allocations: 55.41 kB / 0.5596 GB, free: 11.72 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.591e-05/0.007612, allocations: 161.9 kB / 0.5597 GB, free: 11.55 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.245e-05/0.007625, allocations: 29.7 kB / 0.5598 GB, free: 11.51 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.289e-05/0.007667, allocations: 138.8 kB / 0.5599 GB, free: 11.37 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.208e-05/0.007699, allocations: 47.78 kB / 0.5599 GB, free: 11.32 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.88e-05/0.007738, allocations: 35.36 kB / 0.56 GB, free: 11.28 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001041/0.007842, allocations: 496.1 kB / 0.5604 GB, free: 10.79 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.07e-05/0.007873, allocations: 19.98 kB / 0.5605 GB, free: 10.77 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.759e-05/0.007901, allocations: 19.98 kB / 0.5605 GB, free: 10.75 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.116e-05/0.007962, allocations: 47.62 kB / 0.5605 GB, free: 10.7 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.007963, allocations: 0 / 0.5605 GB, free: 10.7 MB / 490.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 9.876e-05/0.008061, allocations: 101.6 kB / 0.5606 GB, free: 10.59 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/0.008074, allocations: 4 kB / 0.5606 GB, free: 10.59 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.409e-06/0.008079, allocations: 0 / 0.5606 GB, free: 10.59 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.008093, allocations: 0 / 0.5606 GB, free: 10.59 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.987e-05/0.008183, allocations: 27.98 kB / 0.5607 GB, free: 10.56 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.008189, allocations: 4 kB / 0.5607 GB, free: 10.55 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.071e-05/0.008209, allocations: 0 / 0.5607 GB, free: 10.55 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.843e-06/0.008216, allocations: 11.92 kB / 0.5607 GB, free: 10.54 MB / 490.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 (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.459e-05/0.008281, allocations: 164.5 kB / 0.5608 GB, free: 10.37 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.068e-05/0.008302, allocations: 11.95 kB / 0.5608 GB, free: 10.36 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001389/0.00844, allocations: 101.8 kB / 0.5609 GB, free: 10.26 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.008443, allocations: 4 kB / 0.5609 GB, free: 10.25 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.986e-06/0.008446, allocations: 0 / 0.5609 GB, free: 10.25 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.008448, allocations: 0 / 0.5609 GB, free: 10.25 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002469/0.008695, allocations: 361.4 kB / 0.5613 GB, free: 9.859 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.008697, allocations: 0 / 0.5613 GB, free: 9.859 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.027e-05/0.008767, allocations: 23.98 kB / 0.5613 GB, free: 9.836 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.235e-06/0.008769, allocations: 3.984 kB / 0.5613 GB, free: 9.832 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.941e-06/0.008775, allocations: 0 / 0.5613 GB, free: 9.832 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.008776, allocations: 0 / 0.5613 GB, free: 9.832 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.008779, allocations: 7.984 kB / 0.5613 GB, free: 9.824 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001898/0.008969, allocations: 271.7 kB / 0.5616 GB, free: 9.539 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.332e-06/0.008975, allocations: 7.953 kB / 0.5616 GB, free: 9.531 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.222e-05/0.008987, allocations: 0 / 0.5616 GB, free: 9.531 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.497e-05/0.009032, allocations: 8 kB / 0.5616 GB, free: 9.523 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.102e-05/0.009053, allocations: 8.172 kB / 0.5616 GB, free: 9.516 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.62e-06/0.009059, allocations: 4 kB / 0.5616 GB, free: 9.512 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.441e-05/0.009093, allocations: 127.2 kB / 0.5617 GB, free: 9.387 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009093, allocations: 0 / 0.5617 GB, free: 9.387 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002001/0.009293, allocations: 43.81 kB / 0.5618 GB, free: 9.344 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (dp_comp,der_dp_comp) * 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 (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001881/0.009481, allocations: 151 kB / 0.5619 GB, free: 9.188 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001213/0.009603, allocations: 59.53 kB / 0.562 GB, free: 9.129 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.009604, allocations: 3.938 kB / 0.562 GB, free: 9.125 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 3.549e-05/0.00964, allocations: 43.61 kB / 0.562 GB, free: 9.078 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001906/0.009831, allocations: 8 kB / 0.562 GB, free: 9.07 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006088/0.01044, allocations: 270.6 kB / 0.5623 GB, free: 8.77 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.602e-05/0.01048, allocations: 59.34 kB / 0.5623 GB, free: 8.691 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 3.599e-05/0.01051, allocations: 8.734 kB / 0.5623 GB, free: 8.684 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.736e-05/0.01054, allocations: 16.5 kB / 0.5624 GB, free: 8.668 MB / 490.7 MB Notification: Performance of SimCode: time 8.52e-07/0.01054, allocations: 0 / 0.5624 GB, free: 8.668 MB / 490.7 MB Notification: Performance of Templates: time 0.002999/0.01354, allocations: 1.171 MB / 0.5635 GB, free: 7.559 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & ./BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2 -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7495827740058303]