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.00127/0.00127, 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.001428/0.001428, allocations: 211 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.376/1.376, 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.002473/0.002473, allocations: 291.8 kB / 313.5 MB, free: 2.605 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.162/1.162, allocations: 180.6 MB / 0.5377 GB, free: 14.45 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_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: 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.002827/0.002827, allocations: 103.8 kB / 0.7407 GB, free: 28.17 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1665/0.1693, allocations: 95.37 MB / 0.8339 GB, free: 7.801 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.002512/0.1718, allocations: 1.29 MB / 0.8351 GB, free: 6.496 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001098/0.1729, allocations: 0.5582 MB / 0.8357 GB, free: 5.938 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.094e-05/0.173, allocations: 0 / 0.8357 GB, free: 5.938 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.405e-05/0.173, allocations: 0 / 0.8357 GB, free: 5.938 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 3.861e-05/0.173, allocations: 3.938 kB / 0.8357 GB, free: 5.934 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005342/0.1736, allocations: 148.1 kB / 0.8358 GB, free: 5.789 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 6.241e-05/0.1736, allocations: 27.91 kB / 0.8358 GB, free: 5.762 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.075e-05/0.1737, allocations: 15.98 kB / 0.8359 GB, free: 5.746 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 3.007e-05/0.1737, allocations: 11.94 kB / 0.8359 GB, free: 5.734 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 5.152e-05/0.1737, allocations: 7.984 kB / 0.8359 GB, free: 5.727 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.129e-05/0.1737, allocations: 4 kB / 0.8359 GB, free: 5.723 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004298/0.1742, allocations: 267.5 kB / 0.8361 GB, free: 5.461 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 2.017e-05/0.1742, allocations: 11.92 kB / 0.8361 GB, free: 5.449 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.241e-05/0.1742, allocations: 11.98 kB / 0.8362 GB, free: 5.438 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002571/0.1745, allocations: 147.5 kB / 0.8363 GB, free: 5.293 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.1745, allocations: 0 / 0.8363 GB, free: 5.293 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.252e-06/0.1745, allocations: 0 / 0.8363 GB, free: 5.293 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.829e-06/0.1745, allocations: 0 / 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000434/0.1749, allocations: 300.5 kB / 0.8366 GB, free: 4.969 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/0.175, allocations: 9.938 kB / 0.8366 GB, free: 4.961 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.664e-05/0.175, allocations: 4.891 kB / 0.8366 GB, free: 4.957 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001119/0.1751, allocations: 118.4 kB / 0.8367 GB, free: 4.816 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.115e-05/0.1751, allocations: 384 / 0.8367 GB, free: 4.816 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.21e-05/0.1751, allocations: 4.375 kB / 0.8367 GB, free: 4.812 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001576/0.1753, allocations: 101.7 kB / 0.8368 GB, free: 4.695 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.1753, allocations: 192 / 0.8368 GB, free: 4.695 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.18e-05/0.1753, allocations: 3.938 kB / 0.8368 GB, free: 4.691 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/0.1753, allocations: 4 kB / 0.8368 GB, free: 4.688 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.795e-05/0.1754, allocations: 19.98 kB / 0.8368 GB, free: 4.668 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001733/0.1756, allocations: 121.3 kB / 0.837 GB, free: 4.52 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001339/0.1757, allocations: 62.5 kB / 0.837 GB, free: 4.449 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.858e-05/0.1757, allocations: 28.84 kB / 0.837 GB, free: 4.418 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.052e-05/0.1758, allocations: 0 / 0.837 GB, free: 4.418 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.969e-05/0.1758, allocations: 34.56 kB / 0.8371 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=7): time 8.32e-07/0.1758, allocations: 0 / 0.8371 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of matching and sorting (n=11): time 0.001064/0.1769, allocations: 463.7 kB / 0.8375 GB, free: 3.867 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.63e-05/0.1769, allocations: 55.41 kB / 0.8376 GB, free: 3.801 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.51e-05/0.177, allocations: 89.86 kB / 0.8377 GB, free: 3.703 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.025e-05/0.177, allocations: 33.7 kB / 0.8377 GB, free: 3.664 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.823e-05/0.177, allocations: 80.14 kB / 0.8378 GB, free: 3.582 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.843e-05/0.1771, allocations: 39.64 kB / 0.8378 GB, free: 3.543 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.571e-05/0.1771, allocations: 29.7 kB / 0.8378 GB, free: 3.508 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001497/0.1773, allocations: 318.8 kB / 0.8381 GB, free: 3.188 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.634e-05/0.1773, allocations: 27.92 kB / 0.8382 GB, free: 3.16 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.125e-05/0.1774, allocations: 26.48 kB / 0.8382 GB, free: 3.137 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.771e-05/0.1775, allocations: 52.98 kB / 0.8382 GB, free: 3.082 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.02e-07/0.1775, allocations: 0 / 0.8382 GB, free: 3.082 MB / 0.5762 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001441/0.1776, allocations: 95.44 kB / 0.8383 GB, free: 2.984 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.1776, allocations: 10.28 kB / 0.8383 GB, free: 2.977 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.1776, allocations: 3.984 kB / 0.8383 GB, free: 2.973 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.187e-05/0.1776, allocations: 0 / 0.8383 GB, free: 2.973 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001015/0.1777, allocations: 27.88 kB / 0.8384 GB, free: 2.945 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.488e-06/0.1778, allocations: 0 / 0.8384 GB, free: 2.945 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.241e-05/0.1778, allocations: 4 kB / 0.8384 GB, free: 2.941 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.775e-06/0.1778, allocations: 4 kB / 0.8384 GB, free: 2.938 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 0.0001459/0.1779, allocations: 121.8 kB / 0.8385 GB, free: 2.809 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.597e-05/0.178, allocations: 7.891 kB / 0.8385 GB, free: 2.801 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001938/0.1781, allocations: 101.7 kB / 0.8386 GB, free: 2.691 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.1782, allocations: 3.938 kB / 0.8386 GB, free: 2.688 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.1782, allocations: 0 / 0.8386 GB, free: 2.688 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.1782, allocations: 0 / 0.8386 GB, free: 2.688 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004802/0.1786, allocations: 302.1 kB / 0.8389 GB, free: 2.355 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.1786, allocations: 0 / 0.8389 GB, free: 2.355 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001035/0.1787, allocations: 23.92 kB / 0.8389 GB, free: 2.332 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.1787, allocations: 0 / 0.8389 GB, free: 2.332 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.009e-05/0.1788, allocations: 4 kB / 0.8389 GB, free: 2.328 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.1788, allocations: 8 kB / 0.8389 GB, free: 2.32 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1788, allocations: 0 / 0.8389 GB, free: 2.32 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002623/0.179, allocations: 219.4 kB / 0.8391 GB, free: 2.09 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.111e-05/0.179, allocations: 7.953 kB / 0.8391 GB, free: 2.082 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.909e-05/0.179, allocations: 3.984 kB / 0.8391 GB, free: 2.078 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001437/0.1792, allocations: 8 kB / 0.8392 GB, free: 2.07 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.212e-05/0.1792, allocations: 11.98 kB / 0.8392 GB, free: 2.059 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.811e-06/0.1792, allocations: 0 / 0.8392 GB, free: 2.059 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.953e-05/0.1793, allocations: 79.28 kB / 0.8392 GB, free: 1.98 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.1793, allocations: 0 / 0.8392 GB, free: 1.98 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0005883/0.1798, allocations: 40.03 kB / 0.8393 GB, free: 1.941 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.0002077/0.1801, allocations: 139 kB / 0.8394 GB, free: 1.797 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001408/0.1802, allocations: 47.98 kB / 0.8395 GB, free: 1.75 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1802, allocations: 0 / 0.8395 GB, free: 1.75 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 5.269e-05/0.1803, allocations: 35.92 kB / 0.8395 GB, free: 1.715 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004428/0.1807, allocations: 14 kB / 0.8395 GB, free: 1.703 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005544/0.1812, allocations: 311.6 kB / 0.8398 GB, free: 1.367 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.84e-05/0.1813, allocations: 75.23 kB / 0.8399 GB, free: 1.273 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.34e-05/0.1814, allocations: 19.44 kB / 0.8399 GB, free: 1.254 MB / 0.5762 GB Notification: Performance of SimCode: time 2.91e-07/0.1814, allocations: 0 / 0.8399 GB, free: 1.254 MB / 0.5762 GB Notification: Performance of Templates: time 0.002972/0.1843, allocations: 1.149 MB / 0.841 GB, free: 116 kB / 0.5762 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 os._exit(0), Time elapsed: 7.82629963522777] Failed to read output from testmodel.py, exit status != 0: 0.1917130397632718 0.20693044400000002 0.029495030000000002 Calling exit ...