Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.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.0007988/0.0007988, allocations: 80.94 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.0008973/0.0008973, allocations: 181 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 0.9418/0.9418, allocations: 177.2 MB / 203.8 MB, free: 5.492 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.001496/0.001496, allocations: 245.5 kB / 260.5 MB, free: 12.71 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.6575/0.6575, allocations: 138.4 MB / 402.2 MB, free: 0.5742 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_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") translateModel(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 462.3 MB, free: 0.9023 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.022e-05/1.186e-05, allocations: 5.578 kB / 462.3 MB, free: 0.8984 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.001487/0.001499, allocations: 1.316 MB / 463.6 MB, free: 40 kB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008116/0.002311, allocations: 0.5839 MB / 464.2 MB, free: 15.68 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.349e-05/0.002334, allocations: 0.875 kB / 464.2 MB, free: 15.68 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 1.576e-05/0.00235, allocations: 5.719 kB / 464.2 MB, free: 15.67 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 4.437e-05/0.002394, allocations: 2.891 kB / 464.2 MB, free: 15.67 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004852/0.002879, allocations: 159.6 kB / 464.4 MB, free: 15.61 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 4.956e-05/0.002929, allocations: 16.12 kB / 464.4 MB, free: 15.6 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.166e-05/0.002961, allocations: 3.344 kB / 464.4 MB, free: 15.6 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.626e-05/0.003007, allocations: 13.34 kB / 464.4 MB, free: 15.6 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.748e-05/0.003044, allocations: 3.688 kB / 464.4 MB, free: 15.6 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.113e-05/0.003055, allocations: 2.594 kB / 464.4 MB, free: 15.6 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003335/0.003389, allocations: 274.8 kB / 464.7 MB, free: 15.53 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 1.527e-05/0.003404, allocations: 2.156 kB / 464.7 MB, free: 15.53 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 1.601e-05/0.00342, allocations: 9.141 kB / 464.7 MB, free: 15.52 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002159/0.003636, allocations: 164.9 kB / 464.9 MB, free: 15.46 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.003638, allocations: 0.5156 kB / 464.9 MB, free: 15.46 MB / 426.7 MB Notification: Performance of FrontEnd: time 7.91e-07/0.003639, allocations: 1.906 kB / 464.9 MB, free: 15.46 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.795e-06/0.003642, allocations: 0 / 464.9 MB, free: 15.46 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0002709/0.003913, allocations: 259.9 kB / 465.1 MB, free: 15.21 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.271e-05/0.003945, allocations: 9.469 kB / 465.1 MB, free: 15.21 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.225e-05/0.003968, allocations: 5.234 kB / 465.1 MB, free: 15.21 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.735e-05/0.004035, allocations: 113.5 kB / 465.2 MB, free: 15.08 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.865e-06/0.004043, allocations: 384 / 465.2 MB, free: 15.08 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.732e-05/0.00406, allocations: 9.203 kB / 465.2 MB, free: 15.08 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.093e-05/0.004131, allocations: 63.03 kB / 465.3 MB, free: 15.02 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.673e-06/0.004138, allocations: 4.938 kB / 465.3 MB, free: 15.01 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.69e-06/0.004144, allocations: 384 / 465.3 MB, free: 15.01 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.004148, allocations: 2.656 kB / 465.3 MB, free: 15.01 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.818e-05/0.004166, allocations: 12.72 kB / 465.3 MB, free: 15 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.751e-05/0.004244, allocations: 60.64 kB / 465.4 MB, free: 14.94 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001168/0.00436, allocations: 34.75 kB / 465.4 MB, free: 14.91 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.073e-05/0.004381, allocations: 12 kB / 465.4 MB, free: 14.91 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.429e-05/0.004395, allocations: 6.234 kB / 465.4 MB, free: 14.9 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.044e-05/0.004416, allocations: 31.72 kB / 465.5 MB, free: 14.86 MB / 426.7 MB Notification: Performance of pre-optimization done (n=4): time 6.01e-07/0.004416, allocations: 1.125 kB / 465.5 MB, free: 14.86 MB / 426.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004103/0.004827, allocations: 238.3 kB / 465.7 MB, free: 14.68 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.428e-05/0.004851, allocations: 54.09 kB / 465.8 MB, free: 14.62 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.448e-05/0.004896, allocations: 104.5 kB / 465.9 MB, free: 14.51 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 9.608e-06/0.004905, allocations: 29.7 kB / 465.9 MB, free: 14.48 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.943e-05/0.004925, allocations: 82.66 kB / 466 MB, free: 14.39 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.075e-05/0.004945, allocations: 16.72 kB / 466 MB, free: 14.38 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.788e-05/0.004973, allocations: 24.55 kB / 466 MB, free: 14.36 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.494e-05/0.005038, allocations: 318.2 kB / 466.3 MB, free: 14.04 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.148e-06/0.005047, allocations: 8.422 kB / 466.3 MB, free: 14.04 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.317e-06/0.005057, allocations: 5.766 kB / 466.3 MB, free: 14.04 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.302e-05/0.00509, allocations: 29.95 kB / 466.4 MB, free: 14.02 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-07/0.00509, allocations: 0 / 466.4 MB, free: 14.02 MB / 426.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 4.759e-05/0.005138, allocations: 46.83 kB / 466.4 MB, free: 13.99 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.003e-05/0.005148, allocations: 6.25 kB / 466.4 MB, free: 13.99 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.136e-06/0.005151, allocations: 1.125 kB / 466.4 MB, free: 13.99 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.868e-06/0.005161, allocations: 1.766 kB / 466.4 MB, free: 13.99 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.227e-05/0.005193, allocations: 14.33 kB / 466.4 MB, free: 13.99 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.056e-06/0.005196, allocations: 2.344 kB / 466.4 MB, free: 13.99 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.048e-05/0.005207, allocations: 4.547 kB / 466.4 MB, free: 13.98 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.117e-06/0.005211, allocations: 1.438 kB / 466.4 MB, free: 13.98 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 (7): * Single equations (assignments): 7 * 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 4.649e-05/0.005257, allocations: 112.7 kB / 466.5 MB, free: 13.87 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.564e-06/0.005265, allocations: 9.328 kB / 466.6 MB, free: 13.86 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.739e-05/0.005342, allocations: 64.06 kB / 466.6 MB, free: 13.82 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.01e-07/0.005343, allocations: 1.375 kB / 466.6 MB, free: 13.82 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.383e-06/0.005345, allocations: 0 / 466.6 MB, free: 13.82 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.005348, allocations: 1.891 kB / 466.6 MB, free: 13.82 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001584/0.005506, allocations: 211 kB / 466.8 MB, free: 13.62 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.005508, allocations: 3.188 kB / 466.8 MB, free: 13.62 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.477e-05/0.005542, allocations: 12.39 kB / 466.8 MB, free: 13.62 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.005544, allocations: 1.5 kB / 466.8 MB, free: 13.62 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.199e-06/0.005549, allocations: 2.391 kB / 466.8 MB, free: 13.62 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.005551, allocations: 1.156 kB / 466.8 MB, free: 13.62 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.005553, allocations: 2.031 kB / 466.8 MB, free: 13.62 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.733e-05/0.00565, allocations: 162.7 kB / 467 MB, free: 13.47 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.311e-05/0.005663, allocations: 4.094 kB / 467 MB, free: 13.47 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.014e-05/0.005673, allocations: 6.703 kB / 467 MB, free: 13.47 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.264e-05/0.005706, allocations: 1.812 kB / 467 MB, free: 13.47 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.389e-05/0.00572, allocations: 9.047 kB / 467 MB, free: 13.46 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.747e-06/0.005724, allocations: 2.219 kB / 467 MB, free: 13.46 MB / 426.7 MB Notification: Performance of sorting global known variables: time 8.646e-06/0.005732, allocations: 15.02 kB / 467 MB, free: 13.45 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005732, allocations: 0 / 467 MB, free: 13.45 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001409/0.005873, allocations: 22.92 kB / 467.1 MB, free: 13.45 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (m_flow_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 (6): * Single equations (assignments): 6 * 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.0001136/0.005987, allocations: 101.4 kB / 467.2 MB, free: 13.37 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 5.966e-05/0.006047, allocations: 33.45 kB / 467.2 MB, free: 13.35 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.006049, allocations: 1.344 kB / 467.2 MB, free: 13.35 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 1.727e-05/0.006066, allocations: 20.81 kB / 467.2 MB, free: 13.34 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.89e-05/0.006165, allocations: 6.812 kB / 467.2 MB, free: 13.34 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003784/0.006543, allocations: 189.8 kB / 467.4 MB, free: 13.19 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.262e-05/0.006576, allocations: 58.3 kB / 467.5 MB, free: 13.12 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 2.014e-05/0.006596, allocations: 8.156 kB / 467.5 MB, free: 13.12 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.508e-05/0.006631, allocations: 55.91 kB / 467.5 MB, free: 13.07 MB / 426.7 MB Notification: Performance of SimCode: time 6.11e-07/0.006632, allocations: 0.625 kB / 467.5 MB, free: 13.07 MB / 426.7 MB Notification: Performance of Templates: time 0.002079/0.008711, allocations: 0.7516 MB / 468.3 MB, free: 12.55 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & ./BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.3820319920778275]