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.001255/0.001255, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001366/0.001366, allocations: 216.6 kB / 22.99 MB, free: 4.945 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.38/1.38, allocations: 230.6 MB / 256.8 MB, free: 7.797 MB / 206.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.002507/0.002507, allocations: 298.2 kB / 313.5 MB, free: 2.691 MB / 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.138/1.138, allocations: 180.6 MB / 0.5377 GB, free: 14.46 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 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: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002883/0.002883, allocations: 102.3 kB / 0.7407 GB, free: 27.97 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1606/0.1635, allocations: 95.38 MB / 0.8339 GB, free: 7.762 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.002675/0.1662, allocations: 1.29 MB / 0.8351 GB, free: 6.457 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001068/0.1672, allocations: 0.5353 MB / 0.8357 GB, free: 5.922 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.921e-05/0.1673, allocations: 0 / 0.8357 GB, free: 5.922 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.174e-05/0.1673, allocations: 11.92 kB / 0.8357 GB, free: 5.91 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.159e-05/0.1673, allocations: 0 / 0.8357 GB, free: 5.91 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006907/0.168, allocations: 152 kB / 0.8358 GB, free: 5.762 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 7.701e-05/0.1681, allocations: 23.8 kB / 0.8358 GB, free: 5.738 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.826e-05/0.1681, allocations: 8 kB / 0.8358 GB, free: 5.73 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 4.01e-05/0.1682, allocations: 8 kB / 0.8358 GB, free: 5.723 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 5.602e-05/0.1682, allocations: 11.92 kB / 0.8359 GB, free: 5.711 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.377e-05/0.1682, allocations: 0 / 0.8359 GB, free: 5.711 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005006/0.1687, allocations: 267.5 kB / 0.8361 GB, free: 5.449 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 3.009e-05/0.1688, allocations: 3.984 kB / 0.8361 GB, free: 5.445 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.452e-05/0.1688, allocations: 11.94 kB / 0.8361 GB, free: 5.434 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002892/0.1691, allocations: 135.6 kB / 0.8363 GB, free: 5.301 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.1691, allocations: 4 kB / 0.8363 GB, free: 5.297 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.473e-06/0.1691, allocations: 0 / 0.8363 GB, free: 5.297 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.709e-06/0.1691, allocations: 3.938 kB / 0.8363 GB, free: 5.293 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004477/0.1695, allocations: 289.9 kB / 0.8365 GB, free: 4.98 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.816e-05/0.1696, allocations: 9.344 kB / 0.8365 GB, free: 4.973 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.706e-05/0.1696, allocations: 4.891 kB / 0.8366 GB, free: 4.969 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001188/0.1698, allocations: 110.5 kB / 0.8367 GB, free: 4.836 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.509e-05/0.1698, allocations: 384 / 0.8367 GB, free: 4.836 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.878e-05/0.1698, allocations: 8.375 kB / 0.8367 GB, free: 4.828 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001408/0.1699, allocations: 59.95 kB / 0.8367 GB, free: 4.758 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.685e-05/0.17, allocations: 7.938 kB / 0.8367 GB, free: 4.75 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.157e-05/0.17, allocations: 4 kB / 0.8367 GB, free: 4.746 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.17, allocations: 4 kB / 0.8367 GB, free: 4.742 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.343e-05/0.17, allocations: 7.938 kB / 0.8367 GB, free: 4.734 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001728/0.1702, allocations: 109.4 kB / 0.8369 GB, free: 4.598 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000218/0.1704, allocations: 42.56 kB / 0.8369 GB, free: 4.547 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.678e-05/0.1704, allocations: 12.86 kB / 0.8369 GB, free: 4.531 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.615e-05/0.1705, allocations: 4 kB / 0.8369 GB, free: 4.527 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.898e-05/0.1705, allocations: 34.55 kB / 0.8369 GB, free: 4.484 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=4): time 1.273e-06/0.1705, allocations: 0 / 0.8369 GB, free: 4.484 MB / 0.5762 GB Notification: Performance of matching and sorting (n=6): time 0.0006471/0.1712, allocations: 249.2 kB / 0.8372 GB, free: 4.207 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.056e-05/0.1712, allocations: 51.41 kB / 0.8372 GB, free: 4.145 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.924e-05/0.1713, allocations: 93.86 kB / 0.8373 GB, free: 4.043 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.009e-05/0.1713, allocations: 25.7 kB / 0.8373 GB, free: 4.012 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.377e-05/0.1714, allocations: 84.14 kB / 0.8374 GB, free: 3.926 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.78e-05/0.1714, allocations: 27.73 kB / 0.8374 GB, free: 3.898 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.714e-05/0.1714, allocations: 21.66 kB / 0.8375 GB, free: 3.871 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001563/0.1716, allocations: 318.8 kB / 0.8378 GB, free: 3.551 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.937e-05/0.1716, allocations: 11.98 kB / 0.8378 GB, free: 3.539 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.191e-05/0.1716, allocations: 8 kB / 0.8378 GB, free: 3.531 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.041e-05/0.1717, allocations: 36.86 kB / 0.8378 GB, free: 3.492 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.61e-07/0.1717, allocations: 0 / 0.8378 GB, free: 3.492 MB / 0.5762 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001051/0.1718, allocations: 65.62 kB / 0.8379 GB, free: 3.422 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/0.1718, allocations: 7.938 kB / 0.8379 GB, free: 3.414 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.1718, allocations: 0 / 0.8379 GB, free: 3.414 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.1718, allocations: 3.938 kB / 0.8379 GB, free: 3.41 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.299e-05/0.1719, allocations: 15.98 kB / 0.8379 GB, free: 3.395 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.1719, allocations: 0 / 0.8379 GB, free: 3.395 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.998e-05/0.1719, allocations: 4 kB / 0.8379 GB, free: 3.391 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.579e-06/0.1719, allocations: 0 / 0.8379 GB, free: 3.391 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 (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 8.832e-05/0.172, allocations: 113.8 kB / 0.838 GB, free: 3.27 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.542e-05/0.172, allocations: 7.938 kB / 0.838 GB, free: 3.262 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001591/0.1722, allocations: 77.67 kB / 0.8381 GB, free: 3.176 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.1722, allocations: 0 / 0.8381 GB, free: 3.176 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.1722, allocations: 0 / 0.8381 GB, free: 3.176 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.1722, allocations: 0 / 0.8381 GB, free: 3.176 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003206/0.1725, allocations: 267 kB / 0.8384 GB, free: 2.875 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.1725, allocations: 4 kB / 0.8384 GB, free: 2.871 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.909e-05/0.1726, allocations: 11.98 kB / 0.8384 GB, free: 2.859 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.1726, allocations: 0 / 0.8384 GB, free: 2.859 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.405e-06/0.1726, allocations: 4 kB / 0.8384 GB, free: 2.855 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.1726, allocations: 4.031 kB / 0.8384 GB, free: 2.852 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1726, allocations: 0 / 0.8384 GB, free: 2.852 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002013/0.1728, allocations: 184.5 kB / 0.8386 GB, free: 2.652 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.939e-05/0.1728, allocations: 3.938 kB / 0.8386 GB, free: 2.648 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.459e-05/0.1728, allocations: 4.031 kB / 0.8386 GB, free: 2.645 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.849e-05/0.1729, allocations: 4 kB / 0.8386 GB, free: 2.641 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.865e-05/0.1729, allocations: 7.984 kB / 0.8386 GB, free: 2.633 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.399e-06/0.1729, allocations: 3.938 kB / 0.8386 GB, free: 2.629 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 5.184e-05/0.173, allocations: 79.28 kB / 0.8387 GB, free: 2.551 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.173, allocations: 0 / 0.8387 GB, free: 2.551 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002461/0.1732, allocations: 31.92 kB / 0.8387 GB, free: 2.52 MB / 0.5762 GB 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.0001829/0.1734, allocations: 119.1 kB / 0.8388 GB, free: 2.395 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001127/0.1735, allocations: 35.92 kB / 0.8388 GB, free: 2.359 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.1735, allocations: 0 / 0.8388 GB, free: 2.359 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 3.127e-05/0.1736, allocations: 16 kB / 0.8389 GB, free: 2.344 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002156/0.1738, allocations: 7.938 kB / 0.8389 GB, free: 2.336 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005111/0.1743, allocations: 228.6 kB / 0.8391 GB, free: 2.082 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.395e-05/0.1743, allocations: 67.25 kB / 0.8391 GB, free: 1.996 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.299e-05/0.1744, allocations: 15.38 kB / 0.8392 GB, free: 1.98 MB / 0.5762 GB Notification: Performance of SimCode: time 2.81e-07/0.1744, allocations: 0 / 0.8392 GB, free: 1.98 MB / 0.5762 GB Notification: Performance of Templates: time 0.002612/0.177, allocations: 0.8154 MB / 0.84 GB, free: 1.172 MB / 0.5762 GB " [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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 7.7821183879859746] Failed to read output from testmodel.py, exit status != 0: 0.18445654585957527 0.19999243400000002 0.027881885000000002 Calling exit ...