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.001484/0.001484, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001631/0.001631, allocations: 210.5 kB / 22.24 MB, free: 5.262 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.482/1.482, allocations: 230.6 MB / 256 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.002765/0.002765, allocations: 291.9 kB / 312.7 MB, free: 2.602 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.26/1.26, allocations: 180.6 MB / 0.5369 GB, free: 14.5 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.002938/0.002938, allocations: 104.9 kB / 0.74 GB, free: 27.89 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1546/0.1576, allocations: 95.38 MB / 0.8331 GB, free: 7.84 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.002378/0.16, allocations: 1.292 MB / 0.8344 GB, free: 6.535 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001065/0.161, allocations: 0.5508 MB / 0.8349 GB, free: 5.984 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.025e-05/0.161, allocations: 0 / 0.8349 GB, free: 5.984 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.122e-05/0.1611, allocations: 3.938 kB / 0.8349 GB, free: 5.98 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 2.811e-05/0.1611, allocations: 0 / 0.8349 GB, free: 5.98 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005549/0.1616, allocations: 161.1 kB / 0.8351 GB, free: 5.824 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 6.415e-05/0.1617, allocations: 19.86 kB / 0.8351 GB, free: 5.805 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.597e-05/0.1617, allocations: 4 kB / 0.8351 GB, free: 5.801 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 4.152e-05/0.1618, allocations: 15.94 kB / 0.8351 GB, free: 5.785 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 4.177e-05/0.1618, allocations: 3.984 kB / 0.8351 GB, free: 5.781 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.3e-05/0.1618, allocations: 4 kB / 0.8351 GB, free: 5.777 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004529/0.1623, allocations: 263.5 kB / 0.8354 GB, free: 5.52 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.965e-05/0.1623, allocations: 11.98 kB / 0.8354 GB, free: 5.508 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.067e-05/0.1623, allocations: 7.938 kB / 0.8354 GB, free: 5.5 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002715/0.1626, allocations: 139.5 kB / 0.8355 GB, free: 5.363 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.1626, allocations: 4 kB / 0.8355 GB, free: 5.359 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.553e-06/0.1626, allocations: 0 / 0.8355 GB, free: 5.359 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.118e-06/0.1626, allocations: 0 / 0.8355 GB, free: 5.359 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.0004086/0.163, allocations: 282 kB / 0.8358 GB, free: 5.051 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.29e-05/0.1631, allocations: 13.34 kB / 0.8358 GB, free: 5.039 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.986e-05/0.1631, allocations: 4.891 kB / 0.8358 GB, free: 5.035 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001185/0.1632, allocations: 110.5 kB / 0.8359 GB, free: 4.902 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.632e-06/0.1632, allocations: 384 / 0.8359 GB, free: 4.902 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.273e-05/0.1632, allocations: 4.375 kB / 0.8359 GB, free: 4.898 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001157/0.1633, allocations: 63.95 kB / 0.836 GB, free: 4.824 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.764e-06/0.1634, allocations: 4.188 kB / 0.836 GB, free: 4.82 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.313e-05/0.1634, allocations: 7.938 kB / 0.836 GB, free: 4.812 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.978e-06/0.1634, allocations: 0 / 0.836 GB, free: 4.812 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.71e-05/0.1634, allocations: 11.94 kB / 0.836 GB, free: 4.801 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001593/0.1636, allocations: 105.3 kB / 0.8361 GB, free: 4.668 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001773/0.1637, allocations: 42.61 kB / 0.8362 GB, free: 4.617 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.396e-05/0.1638, allocations: 16.86 kB / 0.8362 GB, free: 4.598 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.488e-05/0.1638, allocations: 0 / 0.8362 GB, free: 4.598 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.667e-05/0.1638, allocations: 34.56 kB / 0.8362 GB, free: 4.555 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=4): time 8.22e-07/0.1638, allocations: 3.938 kB / 0.8362 GB, free: 4.551 MB / 0.5762 GB Notification: Performance of matching and sorting (n=6): time 0.0006186/0.1644, allocations: 241.4 kB / 0.8364 GB, free: 4.281 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.027e-05/0.1645, allocations: 59.41 kB / 0.8365 GB, free: 4.211 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.565e-05/0.1646, allocations: 97.84 kB / 0.8366 GB, free: 4.105 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.773e-05/0.1646, allocations: 25.7 kB / 0.8366 GB, free: 4.074 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.122e-05/0.1646, allocations: 84.14 kB / 0.8367 GB, free: 3.988 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.047e-05/0.1647, allocations: 23.78 kB / 0.8367 GB, free: 3.965 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.048e-05/0.1647, allocations: 21.7 kB / 0.8367 GB, free: 3.938 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001468/0.1649, allocations: 318.8 kB / 0.837 GB, free: 3.617 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.839e-05/0.1649, allocations: 8 kB / 0.8371 GB, free: 3.609 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.436e-05/0.1649, allocations: 12 kB / 0.8371 GB, free: 3.598 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.176e-05/0.165, allocations: 40.84 kB / 0.8371 GB, free: 3.555 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.165, allocations: 0 / 0.8371 GB, free: 3.555 MB / 0.5762 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001028/0.1651, allocations: 57.64 kB / 0.8372 GB, free: 3.492 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/0.1651, allocations: 11.98 kB / 0.8372 GB, free: 3.48 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.1651, allocations: 3.938 kB / 0.8372 GB, free: 3.477 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.1651, allocations: 0 / 0.8372 GB, free: 3.477 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.288e-05/0.1652, allocations: 8 kB / 0.8372 GB, free: 3.469 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.1652, allocations: 4 kB / 0.8372 GB, free: 3.465 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.06e-05/0.1652, allocations: 4 kB / 0.8372 GB, free: 3.461 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.448e-06/0.1652, allocations: 64 / 0.8372 GB, free: 3.461 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.939e-05/0.1653, allocations: 113.8 kB / 0.8373 GB, free: 3.34 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.278e-05/0.1653, allocations: 4 kB / 0.8373 GB, free: 3.336 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001545/0.1655, allocations: 85.61 kB / 0.8374 GB, free: 3.242 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.1655, allocations: 0 / 0.8374 GB, free: 3.242 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.1655, allocations: 0 / 0.8374 GB, free: 3.242 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.1655, allocations: 0 / 0.8374 GB, free: 3.242 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003273/0.1658, allocations: 267 kB / 0.8376 GB, free: 2.941 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.1658, allocations: 3.938 kB / 0.8376 GB, free: 2.938 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.254e-05/0.1659, allocations: 12 kB / 0.8377 GB, free: 2.926 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.1659, allocations: 0 / 0.8377 GB, free: 2.926 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.742e-06/0.1659, allocations: 0 / 0.8377 GB, free: 2.926 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.1659, allocations: 8.031 kB / 0.8377 GB, free: 2.918 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1659, allocations: 0 / 0.8377 GB, free: 2.918 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002041/0.1661, allocations: 180.3 kB / 0.8378 GB, free: 2.723 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 2.504e-05/0.1661, allocations: 7.969 kB / 0.8378 GB, free: 2.715 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.404e-05/0.1661, allocations: 7.922 kB / 0.8379 GB, free: 2.707 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.288e-05/0.1662, allocations: 8 kB / 0.8379 GB, free: 2.699 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.629e-05/0.1662, allocations: 0 / 0.8379 GB, free: 2.699 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.734e-06/0.1662, allocations: 4 kB / 0.8379 GB, free: 2.695 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 5.212e-05/0.1663, allocations: 83.27 kB / 0.8379 GB, free: 2.613 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.1663, allocations: 0 / 0.8379 GB, free: 2.613 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002502/0.1665, allocations: 27.94 kB / 0.838 GB, free: 2.586 MB / 0.5762 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.000169/0.1667, allocations: 119.1 kB / 0.8381 GB, free: 2.461 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001069/0.1668, allocations: 39.92 kB / 0.8381 GB, free: 2.422 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1668, allocations: 0 / 0.8381 GB, free: 2.422 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 3.395e-05/0.1668, allocations: 12 kB / 0.8381 GB, free: 2.41 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002239/0.1671, allocations: 7.938 kB / 0.8381 GB, free: 2.402 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004196/0.1675, allocations: 201 kB / 0.8383 GB, free: 2.18 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.55e-05/0.1675, allocations: 67.25 kB / 0.8384 GB, free: 2.094 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 2.955e-05/0.1676, allocations: 4 kB / 0.8384 GB, free: 2.09 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.315e-05/0.1676, allocations: 15.44 kB / 0.8384 GB, free: 2.074 MB / 0.5762 GB Notification: Performance of SimCode: time 4.3e-07/0.1676, allocations: 0 / 0.8384 GB, free: 2.074 MB / 0.5762 GB Notification: Performance of Templates: time 0.003175/0.1708, allocations: 0.6731 MB / 0.8391 GB, free: 1.457 MB / 0.5762 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 sys.exit(0), Time elapsed: 6.211896259337664] Failed to read output from testmodel.py, exit status != 0: 0.17839836701750755 0.194323762 0.028688429 Calling exit ...