Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0008886/0.0008886, allocations: 76.55 kB / 19.93 MB, free: 4.633 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.0009458/0.0009458, allocations: 181.9 kB / 23.22 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.9138/0.9138, allocations: 177.1 MB / 203.5 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.712/1.712, allocations: 377.8 MB / 0.6228 GB, free: 8.672 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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_12_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_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.615e-06/2.615e-06, allocations: 4 kB / 0.9822 GB, free: 2.113 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.037e-05/3.298e-05, allocations: 2.281 kB / 0.9822 GB, free: 2.109 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.001815/0.001848, allocations: 1.295 MB / 0.9835 GB, free: 0.8047 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0007249/0.002573, allocations: 0.5447 MB / 0.984 GB, free: 264 kB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.931e-05/0.002602, allocations: 0 / 0.984 GB, free: 264 kB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 2.024e-05/0.002623, allocations: 0 / 0.984 GB, free: 264 kB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 3.826e-05/0.002661, allocations: 15.92 kB / 0.984 GB, free: 248 kB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004711/0.003132, allocations: 139.3 kB / 0.9841 GB, free: 108 kB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 6.607e-05/0.003198, allocations: 23.91 kB / 0.9842 GB, free: 84 kB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 4.38e-05/0.003242, allocations: 4 kB / 0.9842 GB, free: 80 kB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 5.882e-05/0.003301, allocations: 15.92 kB / 0.9842 GB, free: 64 kB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 4.906e-05/0.00335, allocations: 4 kB / 0.9842 GB, free: 60 kB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.499e-05/0.003365, allocations: 3.938 kB / 0.9842 GB, free: 56 kB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002979/0.003663, allocations: 271.4 kB / 0.9845 GB, free: 15.79 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 1.502e-05/0.003678, allocations: 7.984 kB / 0.9845 GB, free: 15.78 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 1.941e-05/0.003697, allocations: 4 kB / 0.9845 GB, free: 15.78 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002115/0.003909, allocations: 159.4 kB / 0.9846 GB, free: 15.62 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.003911, allocations: 0 / 0.9846 GB, free: 15.62 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.393e-06/0.003913, allocations: 0 / 0.9846 GB, free: 15.62 MB / 0.948 GB Notification: Performance of Transformations before backend: time 5.461e-06/0.003918, allocations: 0 / 0.9846 GB, free: 15.62 MB / 0.948 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.0003827/0.004301, allocations: 290 kB / 0.9849 GB, free: 15.3 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/0.004344, allocations: 12.03 kB / 0.9849 GB, free: 15.29 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.665e-05/0.00438, allocations: 0.9375 kB / 0.9849 GB, free: 15.29 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.25e-05/0.004463, allocations: 109.8 kB / 0.985 GB, free: 15.16 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.189e-05/0.004475, allocations: 384 / 0.985 GB, free: 15.16 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.363e-05/0.004498, allocations: 8.375 kB / 0.985 GB, free: 15.15 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001173/0.004616, allocations: 71.94 kB / 0.9851 GB, free: 15.07 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.677e-06/0.004624, allocations: 192 / 0.9851 GB, free: 15.07 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.517e-06/0.004634, allocations: 384 / 0.9851 GB, free: 15.07 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.621e-06/0.004639, allocations: 4.375 kB / 0.9851 GB, free: 15.07 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.832e-05/0.004678, allocations: 19.86 kB / 0.9851 GB, free: 15.05 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001209/0.004799, allocations: 101.3 kB / 0.9852 GB, free: 14.92 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001841/0.004983, allocations: 42.61 kB / 0.9852 GB, free: 14.87 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.738e-05/0.00501, allocations: 20.88 kB / 0.9853 GB, free: 14.84 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.96e-05/0.00503, allocations: 0 / 0.9853 GB, free: 14.84 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.875e-05/0.005048, allocations: 38.56 kB / 0.9853 GB, free: 14.8 MB / 0.948 GB Notification: Performance of pre-optimization done (n=4): time 6.51e-07/0.005049, allocations: 0 / 0.9853 GB, free: 14.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=6): time 0.0005176/0.005567, allocations: 233.1 kB / 0.9855 GB, free: 14.54 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.415e-05/0.005601, allocations: 63.28 kB / 0.9856 GB, free: 14.46 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001373/0.005738, allocations: 101.8 kB / 0.9857 GB, free: 14.35 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 9.418e-06/0.005748, allocations: 25.7 kB / 0.9857 GB, free: 14.32 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 2.507e-05/0.005773, allocations: 84.08 kB / 0.9858 GB, free: 14.23 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.645e-05/0.005799, allocations: 19.86 kB / 0.9858 GB, free: 14.21 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.738e-05/0.005826, allocations: 17.72 kB / 0.9858 GB, free: 14.19 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.833e-05/0.005895, allocations: 314.8 kB / 0.9861 GB, free: 13.88 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.875e-05/0.005914, allocations: 16 kB / 0.9861 GB, free: 13.86 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.687e-05/0.00593, allocations: 15.98 kB / 0.9862 GB, free: 13.84 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.388e-05/0.005974, allocations: 28.86 kB / 0.9862 GB, free: 13.81 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/0.005975, allocations: 0 / 0.9862 GB, free: 13.81 MB / 0.948 GB Notification: Performance of matching and sorting (n=7) (initialization): time 7.051e-05/0.006045, allocations: 65.64 kB / 0.9862 GB, free: 13.74 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.254e-05/0.006058, allocations: 8 kB / 0.9863 GB, free: 13.73 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.82e-06/0.006063, allocations: 3.938 kB / 0.9863 GB, free: 13.73 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.006075, allocations: 0 / 0.9863 GB, free: 13.73 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.403e-05/0.006119, allocations: 8 kB / 0.9863 GB, free: 13.72 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.006125, allocations: 7.938 kB / 0.9863 GB, free: 13.71 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.234e-05/0.006137, allocations: 0 / 0.9863 GB, free: 13.71 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.799e-06/0.006142, allocations: 4 kB / 0.9863 GB, free: 13.71 MB / 0.948 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.562e-05/0.006197, allocations: 117.8 kB / 0.9864 GB, free: 13.59 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.791e-06/0.006203, allocations: 0 / 0.9864 GB, free: 13.59 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001109/0.006314, allocations: 69.81 kB / 0.9865 GB, free: 13.52 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.006316, allocations: 3.938 kB / 0.9865 GB, free: 13.51 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.006321, allocations: 3.938 kB / 0.9865 GB, free: 13.51 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.006325, allocations: 0.5156 kB / 0.9865 GB, free: 13.51 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002342/0.006559, allocations: 259.1 kB / 0.9867 GB, free: 13.21 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-06/0.006561, allocations: 192 / 0.9867 GB, free: 13.21 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.753e-05/0.006608, allocations: 23.97 kB / 0.9867 GB, free: 13.19 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.006611, allocations: 0 / 0.9867 GB, free: 13.19 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.883e-06/0.006617, allocations: 3.938 kB / 0.9867 GB, free: 13.19 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.454e-06/0.00662, allocations: 4 kB / 0.9867 GB, free: 13.18 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.006622, allocations: 7.922 kB / 0.9867 GB, free: 13.18 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001307/0.006753, allocations: 176.3 kB / 0.9869 GB, free: 12.98 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.621e-05/0.006769, allocations: 8.016 kB / 0.9869 GB, free: 12.98 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.29e-05/0.006782, allocations: 7.938 kB / 0.9869 GB, free: 12.97 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.525e-05/0.006827, allocations: 4 kB / 0.9869 GB, free: 12.96 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.297e-05/0.00684, allocations: 0 / 0.9869 GB, free: 12.96 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.499e-06/0.006844, allocations: 7.938 kB / 0.9869 GB, free: 12.96 MB / 0.948 GB Notification: Performance of sorting global known variables: time 2.54e-05/0.00687, allocations: 87.33 kB / 0.987 GB, free: 12.87 MB / 0.948 GB Notification: Performance of sort global known variables: time 6e-08/0.00687, allocations: 0 / 0.987 GB, free: 12.87 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001599/0.00703, allocations: 27.81 kB / 0.9871 GB, free: 12.84 MB / 0.948 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.0001681/0.007198, allocations: 119.2 kB / 0.9872 GB, free: 12.71 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 8.968e-05/0.007287, allocations: 31.98 kB / 0.9872 GB, free: 12.68 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.00729, allocations: 4 kB / 0.9872 GB, free: 12.68 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 1.71e-05/0.007308, allocations: 15.94 kB / 0.9872 GB, free: 12.66 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00016/0.007468, allocations: 7.984 kB / 0.9872 GB, free: 12.66 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003518/0.007819, allocations: 191.3 kB / 0.9874 GB, free: 12.43 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.2e-05/0.007861, allocations: 63.34 kB / 0.9875 GB, free: 12.35 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.874e-05/0.00788, allocations: 12.5 kB / 0.9875 GB, free: 12.34 MB / 0.948 GB Notification: Performance of SimCode: time 5.11e-07/0.007881, allocations: 0 / 0.9875 GB, free: 12.34 MB / 0.948 GB Notification: Performance of Templates: time 0.001957/0.009838, allocations: 0.8258 MB / 0.9883 GB, free: 11.52 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & ./Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1) [Timeout 400] [Calling os._exit(0), Time elapsed: 6.610944381915033] Failed to read output from testmodel.py, exit status != 0: 0.016149804927408695 0.024249478 0.018667114000000002 Calling exit ...