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.001611/0.001611, allocations: 73.97 kB / 20.66 MB, free: 3.844 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.001905/0.001905, allocations: 169.4 kB / 24.06 MB, free: 456 kB / 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.035/1.035, allocations: 177.1 MB / 204.5 MB, free: 5.504 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.001814/0.001814, allocations: 241.8 kB / 261.3 MB, free: 12.66 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.7888/0.7888, allocations: 138.4 MB / 456.3 MB, free: 30.01 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.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.543e-06/1.543e-06, allocations: 0 / 0.5563 GB, free: 15.88 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.596e-05/2.75e-05, allocations: 5.688 kB / 0.5563 GB, free: 15.87 MB / 490.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.002348/0.002375, allocations: 1.318 MB / 0.5576 GB, free: 14.54 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008674/0.003243, allocations: 0.5682 MB / 0.5582 GB, free: 13.96 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.552e-05/0.003268, allocations: 0 / 0.5582 GB, free: 13.96 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.004e-05/0.003288, allocations: 3.984 kB / 0.5582 GB, free: 13.96 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 5.349e-05/0.003342, allocations: 3.984 kB / 0.5582 GB, free: 13.96 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004494/0.003791, allocations: 151.2 kB / 0.5583 GB, free: 13.81 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 6.08e-05/0.003852, allocations: 23.91 kB / 0.5584 GB, free: 13.79 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.045e-05/0.003892, allocations: 11.94 kB / 0.5584 GB, free: 13.77 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.975e-05/0.003942, allocations: 4 kB / 0.5584 GB, free: 13.77 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.703e-05/0.003989, allocations: 11.98 kB / 0.5584 GB, free: 13.76 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.253e-05/0.004002, allocations: 0 / 0.5584 GB, free: 13.76 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003864/0.004388, allocations: 271.4 kB / 0.5586 GB, free: 13.49 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.833e-05/0.004406, allocations: 7.984 kB / 0.5587 GB, free: 13.48 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.522e-05/0.004421, allocations: 4 kB / 0.5587 GB, free: 13.48 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002432/0.004665, allocations: 155.5 kB / 0.5588 GB, free: 13.33 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.004667, allocations: 0 / 0.5588 GB, free: 13.33 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.402e-06/0.004669, allocations: 0 / 0.5588 GB, free: 13.33 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.318e-06/0.004673, allocations: 0 / 0.5588 GB, free: 13.33 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003852/0.005058, allocations: 400.2 kB / 0.5592 GB, free: 12.9 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.325e-05/0.005102, allocations: 9.938 kB / 0.5592 GB, free: 12.89 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.471e-05/0.005136, allocations: 4.938 kB / 0.5592 GB, free: 12.89 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.15e-05/0.005228, allocations: 104.6 kB / 0.5593 GB, free: 12.76 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.599e-05/0.005244, allocations: 8.312 kB / 0.5593 GB, free: 12.75 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.806e-05/0.005262, allocations: 8.312 kB / 0.5593 GB, free: 12.74 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.69e-05/0.005349, allocations: 59.95 kB / 0.5594 GB, free: 12.67 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.362e-06/0.005355, allocations: 4.188 kB / 0.5594 GB, free: 12.67 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.242e-05/0.005368, allocations: 8.359 kB / 0.5594 GB, free: 12.66 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.005373, allocations: 384 / 0.5594 GB, free: 12.66 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.246e-05/0.005395, allocations: 11.92 kB / 0.5594 GB, free: 12.65 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001271/0.005522, allocations: 101.2 kB / 0.5595 GB, free: 12.52 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001623/0.005685, allocations: 55.02 kB / 0.5596 GB, free: 12.46 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.32e-05/0.005708, allocations: 11.69 kB / 0.5596 GB, free: 12.44 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.488e-05/0.005723, allocations: 4 kB / 0.5596 GB, free: 12.44 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.339e-05/0.005746, allocations: 37.47 kB / 0.5596 GB, free: 12.39 MB / 490.7 MB Notification: Performance of pre-optimization done (n=4): time 1.303e-06/0.005748, allocations: 4 kB / 0.5596 GB, free: 12.39 MB / 490.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004545/0.006202, allocations: 229.6 kB / 0.5598 GB, free: 12.12 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.119e-05/0.006233, allocations: 55.41 kB / 0.5599 GB, free: 12.06 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.756e-05/0.006311, allocations: 153.9 kB / 0.56 GB, free: 11.89 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.382e-05/0.006325, allocations: 29.7 kB / 0.5601 GB, free: 11.86 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.293e-05/0.006368, allocations: 134.9 kB / 0.5602 GB, free: 11.72 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.98e-05/0.006397, allocations: 15.84 kB / 0.5602 GB, free: 11.7 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.597e-05/0.006433, allocations: 27.38 kB / 0.5602 GB, free: 11.67 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001372/0.00657, allocations: 0.4884 MB / 0.5607 GB, free: 11.17 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.45e-05/0.006585, allocations: 7.938 kB / 0.5607 GB, free: 11.16 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.511e-05/0.0066, allocations: 12 kB / 0.5607 GB, free: 11.15 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.232e-05/0.006642, allocations: 23.67 kB / 0.5607 GB, free: 11.12 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.006643, allocations: 0 / 0.5607 GB, free: 11.12 MB / 490.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.296e-05/0.006726, allocations: 53.7 kB / 0.5608 GB, free: 11.06 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.006741, allocations: 10.64 kB / 0.5608 GB, free: 11.05 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.006745, allocations: 0 / 0.5608 GB, free: 11.05 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.877e-06/0.006754, allocations: 0 / 0.5608 GB, free: 11.05 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.135e-05/0.006806, allocations: 15.94 kB / 0.5608 GB, free: 11.04 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.715e-06/0.006808, allocations: 0 / 0.5608 GB, free: 11.04 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.701e-05/0.006825, allocations: 3.938 kB / 0.5608 GB, free: 11.04 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.508e-06/0.00683, allocations: 0 / 0.5608 GB, free: 11.04 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 (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 7.899e-05/0.006909, allocations: 168.6 kB / 0.561 GB, free: 10.86 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.373e-05/0.006923, allocations: 4 kB / 0.561 GB, free: 10.86 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001028/0.007025, allocations: 61.8 kB / 0.561 GB, free: 10.79 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.007029, allocations: 4 kB / 0.561 GB, free: 10.79 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.413e-06/0.007031, allocations: 4.062 kB / 0.5611 GB, free: 10.79 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.007035, allocations: 3.938 kB / 0.5611 GB, free: 10.78 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002524/0.007287, allocations: 298.2 kB / 0.5613 GB, free: 10.45 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.007289, allocations: 0 / 0.5613 GB, free: 10.45 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.629e-05/0.007345, allocations: 15.98 kB / 0.5614 GB, free: 10.44 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.007348, allocations: 0 / 0.5614 GB, free: 10.44 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.072e-06/0.007354, allocations: 7.969 kB / 0.5614 GB, free: 10.43 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.007356, allocations: 4 kB / 0.5614 GB, free: 10.43 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.007359, allocations: 3.938 kB / 0.5614 GB, free: 10.42 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001593/0.007518, allocations: 219.6 kB / 0.5616 GB, free: 10.18 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.354e-05/0.007542, allocations: 7.984 kB / 0.5616 GB, free: 10.18 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.086e-05/0.007552, allocations: 0 / 0.5616 GB, free: 10.18 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.581e-05/0.007608, allocations: 4 kB / 0.5616 GB, free: 10.17 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.664e-05/0.007625, allocations: 11.92 kB / 0.5616 GB, free: 10.16 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.58e-06/0.00763, allocations: 4 kB / 0.5616 GB, free: 10.16 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.705e-05/0.007667, allocations: 119.2 kB / 0.5617 GB, free: 10.04 MB / 490.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.007668, allocations: 4.031 kB / 0.5617 GB, free: 10.04 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002328/0.0079, allocations: 23.88 kB / 0.5617 GB, free: 10.01 MB / 490.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.000168/0.008068, allocations: 127.1 kB / 0.5619 GB, free: 9.879 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 8.139e-05/0.00815, allocations: 35.66 kB / 0.5619 GB, free: 9.84 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.008152, allocations: 0 / 0.5619 GB, free: 9.84 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 2.104e-05/0.008173, allocations: 19.62 kB / 0.5619 GB, free: 9.816 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002041/0.008377, allocations: 11.98 kB / 0.5619 GB, free: 9.805 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004816/0.008858, allocations: 193.8 kB / 0.5621 GB, free: 9.582 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.899e-05/0.008897, allocations: 55.36 kB / 0.5622 GB, free: 9.508 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 2.763e-05/0.008925, allocations: 7.938 kB / 0.5622 GB, free: 9.5 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.541e-05/0.00898, allocations: 82.19 kB / 0.5623 GB, free: 9.418 MB / 490.7 MB Notification: Performance of SimCode: time 6.42e-07/0.008981, allocations: 0 / 0.5623 GB, free: 9.418 MB / 490.7 MB Notification: Performance of Templates: time 0.002845/0.01183, allocations: 0.7401 MB / 0.563 GB, free: 8.734 MB / 490.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.812924040015787]