Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_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.001069/0.001069, allocations: 84.39 kB / 20.72 MB, free: 3.824 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.001017/0.001017, allocations: 173.2 kB / 24 MB, free: 0.543 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.9156/0.9156, allocations: 177.1 MB / 204.3 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.859/1.859, allocations: 378.2 MB / 0.624 GB, free: 8.348 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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_dp_inv_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dp|dp_comp",fileNamePrefix="Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dp|dp_comp",fileNamePrefix="Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 0.9827 GB, free: 2.312 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.171e-05/2.327e-05, allocations: 6.281 kB / 0.9828 GB, free: 2.305 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck): time 0.001701/0.001725, allocations: 1.318 MB / 0.984 GB, free: 0.9766 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0008369/0.002562, allocations: 0.5643 MB / 0.9846 GB, free: 420 kB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.539e-05/0.002597, allocations: 4 kB / 0.9846 GB, free: 416 kB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 2.85e-05/0.002625, allocations: 7.922 kB / 0.9846 GB, free: 408 kB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 4.022e-05/0.002666, allocations: 3.938 kB / 0.9846 GB, free: 404 kB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.000603/0.003269, allocations: 159.2 kB / 0.9848 GB, free: 244 kB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 7.802e-05/0.003347, allocations: 27.86 kB / 0.9848 GB, free: 216 kB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 5.084e-05/0.003398, allocations: 3.984 kB / 0.9848 GB, free: 212 kB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 5.99e-05/0.003457, allocations: 15.98 kB / 0.9848 GB, free: 196 kB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 5.845e-05/0.003516, allocations: 7.984 kB / 0.9848 GB, free: 188 kB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.27e-05/0.003529, allocations: 0 / 0.9848 GB, free: 188 kB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003343/0.003863, allocations: 315.3 kB / 0.9851 GB, free: 15.88 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 1.631e-05/0.003879, allocations: 7.922 kB / 0.9851 GB, free: 15.87 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 2.227e-05/0.003901, allocations: 8 kB / 0.9851 GB, free: 15.86 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002065/0.004108, allocations: 155.5 kB / 0.9853 GB, free: 15.71 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.004111, allocations: 0 / 0.9853 GB, free: 15.71 MB / 0.948 GB Notification: Performance of FrontEnd: time 9.01e-07/0.004111, allocations: 8 kB / 0.9853 GB, free: 15.7 MB / 0.948 GB Notification: Performance of Transformations before backend: time 5.501e-06/0.004117, allocations: 0 / 0.9853 GB, free: 15.7 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.0003992/0.004516, allocations: 290 kB / 0.9856 GB, free: 15.38 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.403e-05/0.00456, allocations: 8.031 kB / 0.9856 GB, free: 15.38 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.144e-05/0.004602, allocations: 12.83 kB / 0.9856 GB, free: 15.36 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.384e-05/0.004685, allocations: 101.8 kB / 0.9857 GB, free: 15.24 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.359e-05/0.004699, allocations: 4.375 kB / 0.9857 GB, free: 15.23 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.247e-05/0.004722, allocations: 384 / 0.9857 GB, free: 15.23 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001196/0.004841, allocations: 67.95 kB / 0.9857 GB, free: 15.16 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.004851, allocations: 192 / 0.9857 GB, free: 15.16 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.128e-05/0.004862, allocations: 384 / 0.9857 GB, free: 15.16 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.004867, allocations: 4.375 kB / 0.9857 GB, free: 15.15 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.448e-05/0.004911, allocations: 19.92 kB / 0.9858 GB, free: 15.13 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000125/0.005036, allocations: 105.3 kB / 0.9859 GB, free: 15 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001864/0.005223, allocations: 42.55 kB / 0.9859 GB, free: 14.95 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.297e-05/0.005256, allocations: 20.94 kB / 0.9859 GB, free: 14.93 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.356e-05/0.005279, allocations: 0 / 0.9859 GB, free: 14.93 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.895e-05/0.005298, allocations: 34.5 kB / 0.986 GB, free: 14.88 MB / 0.948 GB Notification: Performance of pre-optimization done (n=4): time 7.42e-07/0.005299, allocations: 0 / 0.986 GB, free: 14.88 MB / 0.948 GB Notification: Performance of matching and sorting (n=6): time 0.0005373/0.005836, allocations: 229.2 kB / 0.9862 GB, free: 14.62 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.406e-05/0.00587, allocations: 59.34 kB / 0.9862 GB, free: 14.55 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.393e-05/0.005924, allocations: 102.2 kB / 0.9863 GB, free: 14.45 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.096e-05/0.005935, allocations: 25.7 kB / 0.9864 GB, free: 14.41 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 2.657e-05/0.005962, allocations: 84.14 kB / 0.9864 GB, free: 14.33 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.575e-05/0.005988, allocations: 27.73 kB / 0.9865 GB, free: 14.3 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.7e-05/0.006015, allocations: 25.7 kB / 0.9865 GB, free: 14.27 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.174e-05/0.006086, allocations: 314.8 kB / 0.9868 GB, free: 13.95 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.216e-05/0.006109, allocations: 15.98 kB / 0.9868 GB, free: 13.94 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.633e-05/0.006125, allocations: 8 kB / 0.9868 GB, free: 13.93 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.521e-05/0.00617, allocations: 28.86 kB / 0.9868 GB, free: 13.9 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.61e-07/0.006171, allocations: 0 / 0.9868 GB, free: 13.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=7) (initialization): time 6.821e-05/0.006239, allocations: 69.69 kB / 0.9869 GB, free: 13.82 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.256e-05/0.006252, allocations: 4 kB / 0.9869 GB, free: 13.82 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.006258, allocations: 0 / 0.9869 GB, free: 13.82 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.006273, allocations: 7.938 kB / 0.9869 GB, free: 13.81 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.894e-05/0.006312, allocations: 16.11 kB / 0.9869 GB, free: 13.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.644e-06/0.00632, allocations: 4 kB / 0.9869 GB, free: 13.79 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.102e-05/0.006331, allocations: 4 kB / 0.9869 GB, free: 13.79 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.27e-06/0.006336, allocations: 4 kB / 0.9869 GB, free: 13.79 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.599e-05/0.006392, allocations: 109.8 kB / 0.987 GB, free: 13.67 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.755e-06/0.0064, allocations: 7.984 kB / 0.9871 GB, free: 13.66 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.839e-05/0.006498, allocations: 73.8 kB / 0.9871 GB, free: 13.59 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.51e-07/0.006499, allocations: 0 / 0.9871 GB, free: 13.59 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.006505, allocations: 7.938 kB / 0.9871 GB, free: 13.58 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.006508, allocations: 0 / 0.9871 GB, free: 13.58 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002317/0.00674, allocations: 263 kB / 0.9874 GB, free: 13.28 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.006741, allocations: 0 / 0.9874 GB, free: 13.28 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.68e-05/0.006777, allocations: 11.98 kB / 0.9874 GB, free: 13.27 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.00678, allocations: 4 kB / 0.9874 GB, free: 13.27 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.593e-06/0.006787, allocations: 3.938 kB / 0.9874 GB, free: 13.26 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.52e-07/0.006788, allocations: 3.938 kB / 0.9874 GB, free: 13.26 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.006789, allocations: 4.031 kB / 0.9874 GB, free: 13.25 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001292/0.006918, allocations: 172.4 kB / 0.9876 GB, free: 13.07 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.748e-05/0.006935, allocations: 11.95 kB / 0.9876 GB, free: 13.05 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.166e-05/0.006947, allocations: 3.938 kB / 0.9876 GB, free: 13.05 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.17e-05/0.006989, allocations: 4 kB / 0.9876 GB, free: 13.05 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.657e-05/0.007005, allocations: 7.984 kB / 0.9876 GB, free: 13.04 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.488e-06/0.00701, allocations: 4 kB / 0.9876 GB, free: 13.04 MB / 0.948 GB Notification: Performance of sorting global known variables: time 2.299e-05/0.007033, allocations: 75.28 kB / 0.9877 GB, free: 12.96 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.007033, allocations: 0 / 0.9877 GB, free: 12.96 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001697/0.007202, allocations: 35.88 kB / 0.9877 GB, free: 12.93 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.0001705/0.007373, allocations: 139.6 kB / 0.9878 GB, free: 12.78 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 8.175e-05/0.007455, allocations: 32.17 kB / 0.9879 GB, free: 12.75 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.007456, allocations: 0 / 0.9879 GB, free: 12.75 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 2.044e-05/0.007477, allocations: 23.94 kB / 0.9879 GB, free: 12.72 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001536/0.00763, allocations: 0 / 0.9879 GB, free: 12.72 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003413/0.007972, allocations: 203.4 kB / 0.9881 GB, free: 12.49 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.546e-05/0.008017, allocations: 71.28 kB / 0.9882 GB, free: 12.4 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.822e-05/0.008035, allocations: 8.5 kB / 0.9882 GB, free: 12.39 MB / 0.948 GB Notification: Performance of SimCode: time 3.71e-07/0.008036, allocations: 4 kB / 0.9882 GB, free: 12.39 MB / 0.948 GB Notification: Performance of Templates: time 0.002026/0.01006, allocations: 0.95 MB / 0.9891 GB, free: 11.45 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck.pipe ; mkfifo Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck.pipe >> ../files/Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck.sim & ./Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck -emit_protected > Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 7.009523557499051]