Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001535/0.001535, allocations: 120.3 kB / 17.13 MB, free: 5.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001535/0.001535, allocations: 193.2 kB / 20.08 MB, free: 2.988 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.374/1.374, allocations: 225.6 MB / 248.5 MB, free: 3.625 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002365/0.002365, allocations: 288.7 kB / 303.6 MB, free: 3.719 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.029/1.029, allocations: 180.9 MB / 0.5268 GB, free: 3.094 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") translateModel(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002843/0.002843, allocations: 107.8 kB / 0.7259 GB, free: 8.891 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4806/0.4834, allocations: 94.16 MB / 0.8179 GB, free: 7.465 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.002099/0.4855, allocations: 1.284 MB / 0.8191 GB, free: 6.562 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0008517/0.4864, allocations: 0.6258 MB / 0.8197 GB, free: 6.129 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.404e-05/0.4864, allocations: 0 / 0.8197 GB, free: 6.129 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.97e-05/0.4864, allocations: 4 kB / 0.8197 GB, free: 6.125 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 3.146e-05/0.4865, allocations: 8.344 kB / 0.8197 GB, free: 6.121 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004776/0.4869, allocations: 146 kB / 0.8199 GB, free: 6.055 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 5.837e-05/0.487, allocations: 28.62 kB / 0.8199 GB, free: 6.043 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.316e-05/0.487, allocations: 8.984 kB / 0.8199 GB, free: 6.043 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 2.262e-05/0.4871, allocations: 13.91 kB / 0.8199 GB, free: 6.035 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 5.497e-05/0.4871, allocations: 7.312 kB / 0.8199 GB, free: 6.035 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.18e-05/0.4871, allocations: 1.625 kB / 0.8199 GB, free: 6.035 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004527/0.4876, allocations: 350.4 kB / 0.8203 GB, free: 5.93 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.343e-05/0.4876, allocations: 10.53 kB / 0.8203 GB, free: 5.922 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.402e-05/0.4876, allocations: 11.64 kB / 0.8203 GB, free: 5.918 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002224/0.4879, allocations: 156.3 kB / 0.8204 GB, free: 5.867 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.4879, allocations: 0.8125 kB / 0.8204 GB, free: 5.867 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.172e-06/0.4879, allocations: 0 / 0.8204 GB, free: 5.867 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.968e-06/0.4879, allocations: 3.938 kB / 0.8204 GB, free: 5.863 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000324/0.4882, allocations: 370.8 kB / 0.8208 GB, free: 5.477 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.275e-05/0.4882, allocations: 9.031 kB / 0.8208 GB, free: 5.477 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.498e-05/0.4883, allocations: 3.906 kB / 0.8208 GB, free: 5.477 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.781e-05/0.4883, allocations: 166.5 kB / 0.821 GB, free: 5.277 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.151e-05/0.4883, allocations: 5.969 kB / 0.821 GB, free: 5.273 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.266e-05/0.4884, allocations: 7.766 kB / 0.821 GB, free: 5.27 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001064/0.4885, allocations: 50.36 kB / 0.821 GB, free: 5.23 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.309e-05/0.4885, allocations: 5.438 kB / 0.821 GB, free: 5.227 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.378e-06/0.4885, allocations: 3.938 kB / 0.821 GB, free: 5.223 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.4885, allocations: 4.781 kB / 0.821 GB, free: 5.223 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.558e-05/0.4885, allocations: 17.89 kB / 0.8211 GB, free: 5.219 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001266/0.4887, allocations: 169.8 kB / 0.8212 GB, free: 5.016 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 9.209e-05/0.4888, allocations: 60.25 kB / 0.8213 GB, free: 4.977 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.723e-05/0.4888, allocations: 27.75 kB / 0.8213 GB, free: 4.961 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.011e-05/0.4888, allocations: 1.219 kB / 0.8213 GB, free: 4.961 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.757e-05/0.4888, allocations: 36.97 kB / 0.8213 GB, free: 4.918 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=7): time 1.132e-06/0.4888, allocations: 0 / 0.8213 GB, free: 4.918 MB / 0.5762 GB Notification: Performance of matching and sorting (n=11): time 0.0009107/0.4897, allocations: 0.5979 MB / 0.8219 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.363e-05/0.4898, allocations: 52.56 kB / 0.822 GB, free: 4.324 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.883e-05/0.4898, allocations: 95.88 kB / 0.8221 GB, free: 4.227 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.222e-05/0.4898, allocations: 30.83 kB / 0.8221 GB, free: 4.191 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 1.46e-05/0.4898, allocations: 81.45 kB / 0.8222 GB, free: 4.109 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.15e-05/0.4899, allocations: 39.12 kB / 0.8222 GB, free: 4.078 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.781e-05/0.4899, allocations: 26.69 kB / 0.8222 GB, free: 4.055 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.546e-05/0.49, allocations: 318.9 kB / 0.8225 GB, free: 3.738 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.096e-05/0.49, allocations: 17.86 kB / 0.8226 GB, free: 3.734 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.597e-05/0.49, allocations: 23.58 kB / 0.8226 GB, free: 3.727 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.714e-05/0.4901, allocations: 59.47 kB / 0.8226 GB, free: 3.699 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/0.4901, allocations: 0 / 0.8226 GB, free: 3.699 MB / 0.5762 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001314/0.4902, allocations: 106.2 kB / 0.8227 GB, free: 3.633 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.4903, allocations: 9.984 kB / 0.8227 GB, free: 3.629 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.4903, allocations: 1 kB / 0.8227 GB, free: 3.629 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.4903, allocations: 0 / 0.8227 GB, free: 3.629 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.839e-05/0.4904, allocations: 21.02 kB / 0.8228 GB, free: 3.629 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.4904, allocations: 1.219 kB / 0.8228 GB, free: 3.629 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.386e-05/0.4904, allocations: 9.953 kB / 0.8228 GB, free: 3.621 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.574e-06/0.4904, allocations: 2.844 kB / 0.8228 GB, free: 3.621 MB / 0.5762 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 (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 5.09e-05/0.4905, allocations: 117.3 kB / 0.8229 GB, free: 3.5 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.554e-05/0.4905, allocations: 7.062 kB / 0.8229 GB, free: 3.496 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001773/0.4907, allocations: 108.4 kB / 0.823 GB, free: 3.43 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.4907, allocations: 1.703 kB / 0.823 GB, free: 3.43 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.397e-06/0.4907, allocations: 1.156 kB / 0.823 GB, free: 3.43 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.4907, allocations: 0.6094 kB / 0.823 GB, free: 3.43 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003145/0.491, allocations: 361.1 kB / 0.8234 GB, free: 3.09 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.491, allocations: 0 / 0.8234 GB, free: 3.09 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.962e-05/0.4911, allocations: 20.23 kB / 0.8234 GB, free: 3.09 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/0.4911, allocations: 3.75 kB / 0.8234 GB, free: 3.09 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.716e-06/0.4911, allocations: 0.6094 kB / 0.8234 GB, free: 3.09 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.4911, allocations: 4 kB / 0.8234 GB, free: 3.086 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.4911, allocations: 0 / 0.8234 GB, free: 3.086 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000191/0.4913, allocations: 223.5 kB / 0.8236 GB, free: 2.914 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.705e-05/0.4913, allocations: 81.27 kB / 0.8237 GB, free: 2.82 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.304e-05/0.4913, allocations: 0.6562 kB / 0.8237 GB, free: 2.82 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.346e-05/0.4914, allocations: 4.656 kB / 0.8237 GB, free: 2.816 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2e-05/0.4914, allocations: 7.328 kB / 0.8237 GB, free: 2.816 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.793e-06/0.4914, allocations: 3.75 kB / 0.8237 GB, free: 2.816 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 1.905e-05/0.4914, allocations: 82.67 kB / 0.8238 GB, free: 2.738 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.4914, allocations: 0 / 0.8238 GB, free: 2.738 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002531/0.4917, allocations: 36.83 kB / 0.8238 GB, free: 2.727 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (m_flow_comp,der_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 (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.0001635/0.4919, allocations: 134.4 kB / 0.8239 GB, free: 2.625 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001319/0.492, allocations: 66.08 kB / 0.824 GB, free: 2.602 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.492, allocations: 2.625 kB / 0.824 GB, free: 2.602 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 4.049e-05/0.492, allocations: 33.11 kB / 0.824 GB, free: 2.59 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002011/0.4922, allocations: 16.09 kB / 0.824 GB, free: 2.582 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004312/0.4927, allocations: 312.4 kB / 0.8243 GB, free: 2.32 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.485e-05/0.4928, allocations: 0.6872 MB / 0.825 GB, free: 1.625 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.573e-05/0.4928, allocations: 15.56 kB / 0.825 GB, free: 1.617 MB / 0.5762 GB Notification: Performance of SimCode: time 2.91e-07/0.4928, allocations: 3.938 kB / 0.825 GB, free: 1.613 MB / 0.5762 GB Notification: Performance of Templates: time 0.002622/0.4954, allocations: 1.14 MB / 0.8261 GB, free: 1.504 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & ./BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 7.878912361105904] Failed to read output from testmodel.py, exit status != 0: 0.5029496978968382 0.515188768 0.024348735 Calling exit ...