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.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.001332/0.001332, allocations: 79.28 kB / 19.18 MB, free: 2.52 MB / 14.72 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.001642/0.001642, allocations: 167.1 kB / 22.46 MB, free: 5.375 MB / 14.72 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.477/1.477, allocations: 177.1 MB / 202.8 MB, free: 9.16 MB / 190.1 MB " [Timeout remaining time 178] 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.003986/0.003986, allocations: 245.1 kB / 259.4 MB, free: 460 kB / 238.1 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 1.052/1.052, allocations: 138.4 MB / 454.3 MB, free: 2.039 MB / 366.1 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_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 1.372e-06/1.372e-06, allocations: 3.938 kB / 0.6468 GB, free: 5.055 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.996e-05/2.133e-05, allocations: 10.28 kB / 0.6468 GB, free: 5.043 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.00224/0.002262, allocations: 1.293 MB / 0.6481 GB, free: 3.738 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001065/0.003327, allocations: 0.5577 MB / 0.6486 GB, free: 3.18 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.287e-05/0.00335, allocations: 0 / 0.6486 GB, free: 3.18 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.229e-05/0.003372, allocations: 3.938 kB / 0.6486 GB, free: 3.176 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 3.552e-05/0.003408, allocations: 0 / 0.6486 GB, free: 3.176 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005742/0.003982, allocations: 159.2 kB / 0.6488 GB, free: 3.02 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 6.623e-05/0.004048, allocations: 31.84 kB / 0.6488 GB, free: 2.988 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.661e-05/0.004095, allocations: 3.984 kB / 0.6488 GB, free: 2.984 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.491e-05/0.00414, allocations: 15.98 kB / 0.6488 GB, free: 2.969 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.591e-05/0.004196, allocations: 11.98 kB / 0.6488 GB, free: 2.957 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.375e-05/0.004209, allocations: 0 / 0.6488 GB, free: 2.957 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004759/0.004685, allocations: 271.4 kB / 0.6491 GB, free: 2.691 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.676e-05/0.004702, allocations: 0 / 0.6491 GB, free: 2.691 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.274e-05/0.004735, allocations: 19.92 kB / 0.6491 GB, free: 2.672 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002995/0.005034, allocations: 167.4 kB / 0.6493 GB, free: 2.508 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.344e-06/0.005037, allocations: 0 / 0.6493 GB, free: 2.508 MB / 0.5606 GB Notification: Performance of FrontEnd: time 6.21e-07/0.005037, allocations: 0 / 0.6493 GB, free: 2.508 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.865e-06/0.00504, allocations: 0 / 0.6493 GB, free: 2.508 MB / 0.5606 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.0004212/0.005461, allocations: 290 kB / 0.6495 GB, free: 2.191 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.513e-05/0.005496, allocations: 13.34 kB / 0.6495 GB, free: 2.18 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.444e-05/0.005531, allocations: 4.891 kB / 0.6495 GB, free: 2.176 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001059/0.005637, allocations: 113.7 kB / 0.6497 GB, free: 2.039 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.304e-05/0.00565, allocations: 4.375 kB / 0.6497 GB, free: 2.035 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.056e-05/0.00567, allocations: 4.375 kB / 0.6497 GB, free: 2.031 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001577/0.005828, allocations: 101.7 kB / 0.6498 GB, free: 1.914 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.005839, allocations: 4.125 kB / 0.6498 GB, free: 1.91 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.365e-05/0.005853, allocations: 8.359 kB / 0.6498 GB, free: 1.902 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.765e-06/0.00586, allocations: 4.375 kB / 0.6498 GB, free: 1.898 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.355e-05/0.005914, allocations: 19.92 kB / 0.6498 GB, free: 1.879 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001593/0.006073, allocations: 117.2 kB / 0.6499 GB, free: 1.734 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000117/0.00619, allocations: 54.56 kB / 0.65 GB, free: 1.672 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.711e-05/0.006237, allocations: 32.84 kB / 0.65 GB, free: 1.637 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.937e-05/0.006257, allocations: 0 / 0.65 GB, free: 1.637 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.559e-05/0.006292, allocations: 38.5 kB / 0.65 GB, free: 1.59 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 9.42e-07/0.006293, allocations: 7.938 kB / 0.65 GB, free: 1.582 MB / 0.5606 GB Notification: Performance of matching and sorting (n=11): time 0.00111/0.007404, allocations: 447.9 kB / 0.6505 GB, free: 1.09 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.358e-05/0.007457, allocations: 55.41 kB / 0.6505 GB, free: 1.023 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.047e-05/0.007528, allocations: 93.86 kB / 0.6506 GB, free: 0.9219 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.332e-05/0.007551, allocations: 29.7 kB / 0.6506 GB, free: 0.8867 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.625e-05/0.007597, allocations: 80.14 kB / 0.6507 GB, free: 0.8047 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.666e-05/0.007644, allocations: 43.64 kB / 0.6508 GB, free: 0.7617 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.965e-05/0.007694, allocations: 29.84 kB / 0.6508 GB, free: 0.7266 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001452/0.007839, allocations: 318.8 kB / 0.6511 GB, free: 416 kB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.225e-05/0.007891, allocations: 20 kB / 0.6511 GB, free: 396 kB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.356e-05/0.007935, allocations: 19.98 kB / 0.6511 GB, free: 376 kB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001113/0.008046, allocations: 64.16 kB / 0.6512 GB, free: 312 kB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.008047, allocations: 0 / 0.6512 GB, free: 312 kB / 0.5606 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001623/0.008209, allocations: 97.62 kB / 0.6513 GB, free: 208 kB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.22e-05/0.008221, allocations: 4 kB / 0.6513 GB, free: 204 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.898e-06/0.008225, allocations: 0 / 0.6513 GB, free: 204 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.008238, allocations: 3.938 kB / 0.6513 GB, free: 200 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001127/0.008351, allocations: 27.98 kB / 0.6513 GB, free: 172 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.898e-06/0.008355, allocations: 4 kB / 0.6513 GB, free: 168 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.482e-05/0.00838, allocations: 0 / 0.6513 GB, free: 168 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.557e-06/0.008389, allocations: 4 kB / 0.6513 GB, free: 164 kB / 0.5606 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 9.569e-05/0.008485, allocations: 117.8 kB / 0.6514 GB, free: 36 kB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.678e-05/0.008502, allocations: 3.953 kB / 0.6514 GB, free: 32 kB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2577/0.2662, allocations: 103.7 kB / 0.6515 GB, free: 56.84 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.156e-06/0.2663, allocations: 6.094 kB / 0.6515 GB, free: 56.84 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.672e-06/0.2663, allocations: 0 / 0.6515 GB, free: 56.84 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.439e-06/0.2663, allocations: 0.6562 kB / 0.6515 GB, free: 56.84 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003778/0.2666, allocations: 288.7 kB / 0.6518 GB, free: 56.62 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.2666, allocations: 3.719 kB / 0.6518 GB, free: 56.62 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001183/0.2668, allocations: 23.8 kB / 0.6518 GB, free: 56.62 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.698e-06/0.2668, allocations: 4.5 kB / 0.6518 GB, free: 56.62 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.438e-06/0.2668, allocations: 2.625 kB / 0.6518 GB, free: 56.62 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.935e-06/0.2668, allocations: 4.156 kB / 0.6519 GB, free: 56.62 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.2668, allocations: 0.5312 kB / 0.6519 GB, free: 56.62 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002074/0.267, allocations: 215 kB / 0.6521 GB, free: 56.49 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 8.726e-06/0.267, allocations: 8.469 kB / 0.6521 GB, free: 56.49 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.609e-05/0.267, allocations: 4.969 kB / 0.6521 GB, free: 56.49 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.897e-05/0.2671, allocations: 3.453 kB / 0.6521 GB, free: 56.49 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.292e-05/0.2671, allocations: 8.297 kB / 0.6521 GB, free: 56.49 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.056e-05/0.2671, allocations: 7.281 kB / 0.6521 GB, free: 56.49 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 1.945e-05/0.2672, allocations: 80.05 kB / 0.6522 GB, free: 56.41 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.2672, allocations: 0 / 0.6522 GB, free: 56.41 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003043/0.2675, allocations: 38.45 kB / 0.6522 GB, free: 56.41 MB / 0.5606 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.0002069/0.2677, allocations: 136.4 kB / 0.6523 GB, free: 56.33 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001391/0.2678, allocations: 57.8 kB / 0.6524 GB, free: 56.33 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.2678, allocations: 0 / 0.6524 GB, free: 56.33 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 4.401e-05/0.2679, allocations: 33.36 kB / 0.6524 GB, free: 56.33 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002363/0.2681, allocations: 11.22 kB / 0.6524 GB, free: 56.32 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004232/0.2685, allocations: 230.8 kB / 0.6527 GB, free: 56.21 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.193e-05/0.2686, allocations: 75.11 kB / 0.6527 GB, free: 56.14 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 4.081e-05/0.2686, allocations: 14.62 kB / 0.6527 GB, free: 56.14 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.539e-05/0.2686, allocations: 13.16 kB / 0.6527 GB, free: 56.14 MB / 0.5606 GB Notification: Performance of SimCode: time 5.01e-07/0.2686, allocations: 0 / 0.6527 GB, free: 56.14 MB / 0.5606 GB Notification: Performance of Templates: time 0.003509/0.2721, allocations: 0.9357 MB / 0.6537 GB, free: 56.09 MB / 0.5606 GB " [Timeout remaining time 660] 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 sys.exit(0), Time elapsed: 5.840838748961687] Failed to read output from testmodel.py, exit status != 0: 0.28018855303525925 0.28924307699999996 0.28199490099999996 Calling exit ...