Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_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.001235/0.001235, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001397/0.001397, allocations: 218.4 kB / 23.01 MB, free: 4.609 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.359/1.359, allocations: 230.6 MB / 256.8 MB, free: 8.051 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.002577/0.002577, allocations: 286.5 kB / 313.5 MB, free: 2.844 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.141/1.141, allocations: 180.6 MB / 0.5377 GB, free: 13.08 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_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") translateModel(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_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.00276/0.00276, allocations: 104.5 kB / 0.7408 GB, free: 27.79 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1557/0.1585, allocations: 95.4 MB / 0.834 GB, free: 8.18 MB / 0.5763 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.002573/0.161, allocations: 1.293 MB / 0.8352 GB, free: 6.871 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.001092/0.1621, allocations: 0.6209 MB / 0.8358 GB, free: 6.25 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.594e-05/0.1622, allocations: 3.938 kB / 0.8358 GB, free: 6.246 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 2.12e-05/0.1622, allocations: 0 / 0.8358 GB, free: 6.246 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 3.557e-05/0.1622, allocations: 11.92 kB / 0.8359 GB, free: 6.234 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005933/0.1628, allocations: 149 kB / 0.836 GB, free: 6.09 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 6.279e-05/0.1629, allocations: 15.94 kB / 0.836 GB, free: 6.074 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 3.669e-05/0.1629, allocations: 11.98 kB / 0.836 GB, free: 6.062 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 3.512e-05/0.1629, allocations: 7.938 kB / 0.836 GB, free: 6.055 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 4.5e-05/0.163, allocations: 8 kB / 0.836 GB, free: 6.047 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 9.788e-06/0.163, allocations: 0 / 0.836 GB, free: 6.047 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005248/0.1635, allocations: 347.3 kB / 0.8364 GB, free: 5.707 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 1.426e-05/0.1635, allocations: 4 kB / 0.8364 GB, free: 5.703 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 2.635e-05/0.1636, allocations: 11.94 kB / 0.8364 GB, free: 5.691 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.0002825/0.1638, allocations: 151.4 kB / 0.8365 GB, free: 5.543 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.1638, allocations: 0 / 0.8365 GB, free: 5.543 MB / 0.5763 GB Notification: Performance of FrontEnd: time 1.062e-06/0.1638, allocations: 0 / 0.8365 GB, free: 5.543 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 4.408e-06/0.1639, allocations: 4 kB / 0.8365 GB, free: 5.539 MB / 0.5763 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.0004334/0.1643, allocations: 286 kB / 0.8368 GB, free: 5.227 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 3.397e-05/0.1643, allocations: 9.344 kB / 0.8368 GB, free: 5.219 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.866e-05/0.1644, allocations: 4.891 kB / 0.8368 GB, free: 5.215 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001219/0.1645, allocations: 110.5 kB / 0.8369 GB, free: 5.082 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.093e-06/0.1645, allocations: 4.375 kB / 0.8369 GB, free: 5.078 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.251e-05/0.1645, allocations: 4.375 kB / 0.8369 GB, free: 5.074 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001044/0.1646, allocations: 38.25 kB / 0.837 GB, free: 5.031 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.1646, allocations: 4.125 kB / 0.837 GB, free: 5.027 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.421e-05/0.1646, allocations: 7.938 kB / 0.837 GB, free: 5.02 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-06/0.1646, allocations: 0 / 0.837 GB, free: 5.02 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.799e-05/0.1647, allocations: 11.92 kB / 0.837 GB, free: 5.008 MB / 0.5763 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000176/0.1649, allocations: 132.8 kB / 0.8371 GB, free: 4.836 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001818/0.165, allocations: 42.61 kB / 0.8372 GB, free: 4.785 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.413e-05/0.1651, allocations: 12.86 kB / 0.8372 GB, free: 4.77 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 1.699e-05/0.1651, allocations: 4 kB / 0.8372 GB, free: 4.766 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.871e-05/0.1651, allocations: 34.64 kB / 0.8372 GB, free: 4.723 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=4): time 9.72e-07/0.1651, allocations: 0 / 0.8372 GB, free: 4.723 MB / 0.5763 GB Notification: Performance of matching and sorting (n=6): time 0.0006003/0.1657, allocations: 233.1 kB / 0.8374 GB, free: 4.461 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.861e-05/0.1658, allocations: 59.41 kB / 0.8375 GB, free: 4.391 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.901e-05/0.1658, allocations: 106.2 kB / 0.8376 GB, free: 4.277 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 1.626e-05/0.1659, allocations: 29.64 kB / 0.8376 GB, free: 4.242 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 4.616e-05/0.1659, allocations: 80.14 kB / 0.8377 GB, free: 4.16 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 3.128e-05/0.1659, allocations: 27.78 kB / 0.8377 GB, free: 4.133 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.616e-05/0.166, allocations: 17.72 kB / 0.8377 GB, free: 4.109 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 0.0001325/0.1661, allocations: 314.8 kB / 0.838 GB, free: 3.793 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.759e-05/0.1661, allocations: 12 kB / 0.838 GB, free: 3.781 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.108e-05/0.1661, allocations: 15.98 kB / 0.8381 GB, free: 3.766 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.429e-05/0.1662, allocations: 32.84 kB / 0.8381 GB, free: 3.73 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-07/0.1662, allocations: 0 / 0.8381 GB, free: 3.73 MB / 0.5763 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001039/0.1663, allocations: 69.62 kB / 0.8382 GB, free: 3.656 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.1663, allocations: 7.938 kB / 0.8382 GB, free: 3.648 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.1663, allocations: 4 kB / 0.8382 GB, free: 3.645 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.1663, allocations: 0 / 0.8382 GB, free: 3.645 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.788e-05/0.1664, allocations: 8 kB / 0.8382 GB, free: 3.637 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.318e-06/0.1664, allocations: 0 / 0.8382 GB, free: 3.637 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.746e-05/0.1664, allocations: 0 / 0.8382 GB, free: 3.637 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.712e-06/0.1664, allocations: 8 kB / 0.8382 GB, free: 3.629 MB / 0.5763 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.398e-05/0.1665, allocations: 113.8 kB / 0.8383 GB, free: 3.508 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.498e-05/0.1665, allocations: 7.938 kB / 0.8383 GB, free: 3.5 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000142/0.1667, allocations: 77.7 kB / 0.8384 GB, free: 3.414 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.1667, allocations: 0 / 0.8384 GB, free: 3.414 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.1667, allocations: 0 / 0.8384 GB, free: 3.414 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.1667, allocations: 4 kB / 0.8384 GB, free: 3.41 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003203/0.167, allocations: 294.4 kB / 0.8387 GB, free: 3.07 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.167, allocations: 3.984 kB / 0.8387 GB, free: 3.066 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.508e-05/0.1671, allocations: 12 kB / 0.8387 GB, free: 3.055 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.428e-06/0.1671, allocations: 4 kB / 0.8387 GB, free: 3.051 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.841e-06/0.1671, allocations: 0 / 0.8387 GB, free: 3.051 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.482e-06/0.1671, allocations: 0 / 0.8387 GB, free: 3.051 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1671, allocations: 0 / 0.8387 GB, free: 3.051 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001853/0.1673, allocations: 188.3 kB / 0.8389 GB, free: 2.848 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 1.965e-05/0.1673, allocations: 3.953 kB / 0.8389 GB, free: 2.844 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.14e-05/0.1673, allocations: 7.969 kB / 0.8389 GB, free: 2.836 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.071e-05/0.1674, allocations: 0 / 0.8389 GB, free: 2.836 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.348e-05/0.1674, allocations: 11.98 kB / 0.8389 GB, free: 2.824 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.288e-06/0.1674, allocations: 0 / 0.8389 GB, free: 2.824 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 4.754e-05/0.1674, allocations: 79.28 kB / 0.839 GB, free: 2.746 MB / 0.5763 GB Notification: Performance of sort global known variables: time 7e-08/0.1674, allocations: 0 / 0.839 GB, free: 2.746 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.0002824/0.1677, allocations: 27.86 kB / 0.839 GB, free: 2.719 MB / 0.5763 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (dp_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.0001625/0.1679, allocations: 123.2 kB / 0.8391 GB, free: 2.59 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.0001189/0.168, allocations: 35.92 kB / 0.8391 GB, free: 2.555 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.168, allocations: 0 / 0.8391 GB, free: 2.555 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 2.677e-05/0.168, allocations: 12 kB / 0.8391 GB, free: 2.543 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002154/0.1682, allocations: 13.81 kB / 0.8392 GB, free: 2.531 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004436/0.1687, allocations: 222.7 kB / 0.8394 GB, free: 2.281 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003116/0.169, allocations: 0.6807 MB / 0.84 GB, free: 1.574 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.485e-05/0.169, allocations: 11.44 kB / 0.84 GB, free: 1.562 MB / 0.5763 GB Notification: Performance of SimCode: time 4.11e-07/0.169, allocations: 0 / 0.84 GB, free: 1.562 MB / 0.5763 GB Notification: Performance of Templates: time 0.002476/0.1715, allocations: 0.7855 MB / 0.8408 GB, free: 0.7852 MB / 0.5763 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & ./BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 7.7828089280519634] Failed to read output from testmodel.py, exit status != 0: 0.1789451299700886 0.194179191 0.027306597000000002 Calling exit ...