Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.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.000846/0.000846, allocations: 80.48 kB / 19.93 MB, free: 4.629 MB / 18.57 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.0008194/0.0008194, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 18.57 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 0.8856/0.8856, allocations: 177.1 MB / 203.5 MB, free: 5.762 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.766/1.766, allocations: 389.1 MB / 0.6338 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dp|dp_comp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dp|dp_comp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.063e-06/2.063e-06, allocations: 0 / 1.001 GB, free: 13 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.458e-05/2.664e-05, allocations: 6.219 kB / 1.001 GB, free: 13 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.001506/0.001533, allocations: 1.294 MB / 1.002 GB, free: 11.69 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0007047/0.002238, allocations: 0.5378 MB / 1.003 GB, free: 11.15 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.924e-05/0.002267, allocations: 4 kB / 1.003 GB, free: 11.15 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.457e-05/0.002292, allocations: 7.922 kB / 1.003 GB, free: 11.14 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 4.022e-05/0.002332, allocations: 3.938 kB / 1.003 GB, free: 11.14 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004395/0.002771, allocations: 150.2 kB / 1.003 GB, free: 10.99 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 7.008e-05/0.002841, allocations: 23.91 kB / 1.003 GB, free: 10.97 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 4.168e-05/0.002883, allocations: 4 kB / 1.003 GB, free: 10.96 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 5.49e-05/0.002938, allocations: 7.938 kB / 1.003 GB, free: 10.96 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 4.542e-05/0.002983, allocations: 7.984 kB / 1.003 GB, free: 10.95 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.387e-05/0.002997, allocations: 0 / 1.003 GB, free: 10.95 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002738/0.003271, allocations: 279.4 kB / 1.003 GB, free: 10.68 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.514e-05/0.003286, allocations: 7.938 kB / 1.003 GB, free: 10.67 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 1.735e-05/0.003303, allocations: 4 kB / 1.003 GB, free: 10.66 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001952/0.003499, allocations: 151.5 kB / 1.003 GB, free: 10.52 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.793e-06/0.0035, allocations: 0 / 1.003 GB, free: 10.52 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.022e-06/0.003501, allocations: 0 / 1.003 GB, free: 10.52 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.457e-06/0.003505, allocations: 0 / 1.003 GB, free: 10.52 MB / 0.9636 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.000362/0.003867, allocations: 286 kB / 1.004 GB, free: 10.2 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/0.003911, allocations: 12.75 kB / 1.004 GB, free: 10.19 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.571e-05/0.003947, allocations: 4.891 kB / 1.004 GB, free: 10.19 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.739e-05/0.004034, allocations: 109.8 kB / 1.004 GB, free: 10.05 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.132e-05/0.004045, allocations: 4.375 kB / 1.004 GB, free: 10.05 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.062e-05/0.004066, allocations: 384 / 1.004 GB, free: 10.05 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001163/0.004182, allocations: 71.89 kB / 1.004 GB, free: 9.969 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.388e-06/0.004192, allocations: 192 / 1.004 GB, free: 9.969 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.498e-06/0.004201, allocations: 4.312 kB / 1.004 GB, free: 9.965 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.004206, allocations: 4.375 kB / 1.004 GB, free: 9.961 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.778e-05/0.004244, allocations: 15.92 kB / 1.004 GB, free: 9.945 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000127/0.004371, allocations: 105.3 kB / 1.004 GB, free: 9.812 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000175/0.004546, allocations: 38.61 kB / 1.004 GB, free: 9.766 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.923e-05/0.004575, allocations: 24.94 kB / 1.004 GB, free: 9.738 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.961e-05/0.004595, allocations: 3.938 kB / 1.004 GB, free: 9.734 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.922e-05/0.004614, allocations: 34.56 kB / 1.004 GB, free: 9.691 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=4): time 9.42e-07/0.004615, allocations: 0 / 1.004 GB, free: 9.691 MB / 0.9636 GB Notification: Performance of matching and sorting (n=6): time 0.0005008/0.005116, allocations: 237.1 kB / 1.004 GB, free: 9.426 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.996e-05/0.005146, allocations: 55.34 kB / 1.004 GB, free: 9.359 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.637e-05/0.005192, allocations: 97.84 kB / 1.004 GB, free: 9.254 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.173e-05/0.005204, allocations: 33.7 kB / 1.004 GB, free: 9.215 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 2.837e-05/0.005232, allocations: 84.14 kB / 1.004 GB, free: 9.129 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.507e-05/0.005257, allocations: 19.8 kB / 1.005 GB, free: 9.109 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.668e-05/0.005284, allocations: 21.72 kB / 1.005 GB, free: 9.082 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.639e-05/0.00536, allocations: 322.8 kB / 1.005 GB, free: 8.758 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.826e-05/0.005378, allocations: 12 kB / 1.005 GB, free: 8.746 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.678e-05/0.005395, allocations: 11.98 kB / 1.005 GB, free: 8.734 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.263e-05/0.005438, allocations: 32.8 kB / 1.005 GB, free: 8.699 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.005439, allocations: 0 / 1.005 GB, free: 8.699 MB / 0.9636 GB Notification: Performance of matching and sorting (n=7) (initialization): time 5.771e-05/0.005496, allocations: 61.69 kB / 1.005 GB, free: 8.633 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.26e-05/0.005509, allocations: 8 kB / 1.005 GB, free: 8.625 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.005514, allocations: 0 / 1.005 GB, free: 8.625 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.193e-05/0.005526, allocations: 0 / 1.005 GB, free: 8.625 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.573e-05/0.005561, allocations: 12 kB / 1.005 GB, free: 8.613 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.005566, allocations: 7.938 kB / 1.005 GB, free: 8.605 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.071e-05/0.005577, allocations: 4 kB / 1.005 GB, free: 8.602 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.22e-06/0.005582, allocations: 0 / 1.005 GB, free: 8.602 MB / 0.9636 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 5.689e-05/0.005639, allocations: 117.8 kB / 1.005 GB, free: 8.477 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.559e-06/0.005644, allocations: 3.938 kB / 1.005 GB, free: 8.473 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.69e-05/0.005741, allocations: 69.77 kB / 1.005 GB, free: 8.395 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.005743, allocations: 4 kB / 1.005 GB, free: 8.391 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.005747, allocations: 3.938 kB / 1.005 GB, free: 8.387 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.644e-06/0.00575, allocations: 0 / 1.005 GB, free: 8.387 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002194/0.005969, allocations: 263 kB / 1.005 GB, free: 8.09 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.005971, allocations: 7.969 kB / 1.005 GB, free: 8.082 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.7e-05/0.006008, allocations: 12.19 kB / 1.005 GB, free: 8.07 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.462e-06/0.006009, allocations: 0 / 1.005 GB, free: 8.07 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.907e-06/0.006018, allocations: 7.938 kB / 1.005 GB, free: 8.062 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.11e-07/0.006019, allocations: 240 / 1.005 GB, free: 8.062 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.006022, allocations: 7.984 kB / 1.005 GB, free: 8.055 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001288/0.006151, allocations: 176.3 kB / 1.006 GB, free: 7.863 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.584e-05/0.006167, allocations: 11.97 kB / 1.006 GB, free: 7.852 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.065e-05/0.006177, allocations: 3.938 kB / 1.006 GB, free: 7.848 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.268e-05/0.00622, allocations: 4 kB / 1.006 GB, free: 7.844 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.519e-05/0.006235, allocations: 8.062 kB / 1.006 GB, free: 7.836 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.037e-06/0.006239, allocations: 4 kB / 1.006 GB, free: 7.832 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 2.224e-05/0.006261, allocations: 79.27 kB / 1.006 GB, free: 7.754 MB / 0.9636 GB Notification: Performance of sort global known variables: time 7e-08/0.006261, allocations: 0 / 1.006 GB, free: 7.754 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001563/0.006418, allocations: 23.88 kB / 1.006 GB, free: 7.73 MB / 0.9636 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.0001361/0.006554, allocations: 119.2 kB / 1.006 GB, free: 7.605 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 8.474e-05/0.006638, allocations: 35.92 kB / 1.006 GB, free: 7.57 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.00664, allocations: 3.938 kB / 1.006 GB, free: 7.566 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 1.773e-05/0.006658, allocations: 12 kB / 1.006 GB, free: 7.555 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001547/0.006813, allocations: 8.062 kB / 1.006 GB, free: 7.547 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003234/0.007136, allocations: 198.4 kB / 1.006 GB, free: 7.32 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.421e-05/0.00718, allocations: 63.34 kB / 1.006 GB, free: 7.238 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.756e-05/0.007198, allocations: 16.5 kB / 1.006 GB, free: 7.223 MB / 0.9636 GB Notification: Performance of SimCode: time 2.4e-07/0.007198, allocations: 0 / 1.006 GB, free: 7.223 MB / 0.9636 GB Notification: Performance of Templates: time 0.001801/0.008999, allocations: 0.8053 MB / 1.007 GB, free: 6.422 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1) [Timeout 800] [Calling os._exit(0), Time elapsed: 6.620258282870054] Failed to read output from testmodel.py, exit status != 0: 0.013442620635032654 0.021380775 0.0161812 Calling exit ...