Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2.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.0007267/0.0007267, allocations: 68.19 kB / 9.865 MB, free: 0.8242 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009104/0.001637, allocations: 443.8 kB / 10.3 MB, free: 400 kB / 10.45 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.000677/0.000677, allocations: 157.2 kB / 11.19 MB, free: 2.984 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008375/0.001515, allocations: 463.6 kB / 11.64 MB, free: 2.527 MB / 13.93 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.8762/0.8762, allocations: 177.1 MB / 189.5 MB, free: 5.332 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08731/0.9635, allocations: 53.66 MB / 243.2 MB, free: 15.6 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.161/2.161, allocations: 440.5 MB / 0.6683 GB, free: 12.24 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2235/2.384, allocations: 143.9 MB / 0.8089 GB, free: 12.4 MB / 0.7917 GB " [Timeout remaining time 178] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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_dp_inv_DerivativeCheck2,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dp|dp_comp|der_dp|der_dp_comp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dp|dp_comp|der_dp|der_dp_comp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 0.8102 GB, free: 11.07 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.047e-05/2.202e-05, allocations: 2.312 kB / 0.8102 GB, free: 11.06 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2): time 0.0025/0.002522, allocations: 1.421 MB / 0.8116 GB, free: 9.633 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0008801/0.003402, allocations: 0.6148 MB / 0.8122 GB, free: 9.016 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.292e-05/0.003425, allocations: 0 / 0.8122 GB, free: 9.016 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 8.686e-06/0.003433, allocations: 3.938 kB / 0.8122 GB, free: 9.012 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 2.244e-05/0.003456, allocations: 7.984 kB / 0.8122 GB, free: 9.004 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.000322/0.003778, allocations: 155.2 kB / 0.8123 GB, free: 8.852 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 5.26e-05/0.00383, allocations: 31.86 kB / 0.8123 GB, free: 8.82 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 3.493e-05/0.003865, allocations: 3.984 kB / 0.8123 GB, free: 8.816 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 4.954e-05/0.003915, allocations: 23.92 kB / 0.8124 GB, free: 8.793 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 5.152e-05/0.003966, allocations: 7.984 kB / 0.8124 GB, free: 8.785 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.082e-05/0.003977, allocations: 0 / 0.8124 GB, free: 8.785 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003416/0.004319, allocations: 331.3 kB / 0.8127 GB, free: 8.461 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 1.358e-05/0.004332, allocations: 11.88 kB / 0.8127 GB, free: 8.449 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 1.42e-05/0.004346, allocations: 4 kB / 0.8127 GB, free: 8.445 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0001802/0.004527, allocations: 135.6 kB / 0.8128 GB, free: 8.312 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.021e-05/0.004537, allocations: 0 / 0.8128 GB, free: 8.312 MB / 0.7917 GB Notification: Performance of FrontEnd: time 9.82e-07/0.004538, allocations: 4 kB / 0.8128 GB, free: 8.309 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 9.307e-06/0.004547, allocations: 3.938 kB / 0.8128 GB, free: 8.305 MB / 0.7917 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003171/0.004864, allocations: 292.2 kB / 0.8131 GB, free: 7.992 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.167e-05/0.004896, allocations: 12.62 kB / 0.8131 GB, free: 7.98 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.725e-05/0.004923, allocations: 0.9375 kB / 0.8131 GB, free: 7.98 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.747e-05/0.004991, allocations: 117.7 kB / 0.8133 GB, free: 7.84 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.006e-05/0.005001, allocations: 4.375 kB / 0.8133 GB, free: 7.836 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.505e-05/0.005026, allocations: 8.375 kB / 0.8133 GB, free: 7.828 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.052e-05/0.005116, allocations: 93.64 kB / 0.8134 GB, free: 7.719 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.005124, allocations: 4.141 kB / 0.8134 GB, free: 7.715 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.993e-06/0.005131, allocations: 4.375 kB / 0.8134 GB, free: 7.711 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.898e-06/0.005135, allocations: 384 / 0.8134 GB, free: 7.711 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.627e-05/0.005162, allocations: 23.86 kB / 0.8134 GB, free: 7.688 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.095e-05/0.005242, allocations: 61.05 kB / 0.8134 GB, free: 7.613 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 6.744e-05/0.00531, allocations: 46.62 kB / 0.8135 GB, free: 7.559 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.909e-05/0.005329, allocations: 24.84 kB / 0.8135 GB, free: 7.531 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 1.514e-05/0.005344, allocations: 4 kB / 0.8135 GB, free: 7.527 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.823e-05/0.005362, allocations: 38.56 kB / 0.8136 GB, free: 7.48 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=7): time 6.82e-07/0.005363, allocations: 0 / 0.8136 GB, free: 7.48 MB / 0.7917 GB Notification: Performance of matching and sorting (n=11): time 0.0008189/0.006182, allocations: 447.6 kB / 0.814 GB, free: 6.988 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.828e-05/0.00621, allocations: 55.41 kB / 0.814 GB, free: 6.922 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.573e-05/0.006276, allocations: 102.7 kB / 0.8141 GB, free: 6.809 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 1.439e-05/0.00629, allocations: 29.7 kB / 0.8142 GB, free: 6.773 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 2.466e-05/0.006315, allocations: 84.12 kB / 0.8142 GB, free: 6.688 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 3.977e-05/0.006355, allocations: 39.64 kB / 0.8143 GB, free: 6.648 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.189e-05/0.006397, allocations: 29.69 kB / 0.8143 GB, free: 6.613 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 8.709e-05/0.006484, allocations: 318.8 kB / 0.8146 GB, free: 6.293 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.171e-05/0.006505, allocations: 8 kB / 0.8146 GB, free: 6.285 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.926e-05/0.006525, allocations: 12.11 kB / 0.8146 GB, free: 6.273 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.961e-05/0.006584, allocations: 46.52 kB / 0.8147 GB, free: 6.227 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.006585, allocations: 0 / 0.8147 GB, free: 6.227 MB / 0.7917 GB Notification: Performance of matching and sorting (n=13) (initialization): time 9.159e-05/0.006677, allocations: 65.62 kB / 0.8147 GB, free: 6.156 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/0.006691, allocations: 4 kB / 0.8147 GB, free: 6.152 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.006697, allocations: 7.984 kB / 0.8147 GB, free: 6.145 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.997e-06/0.006706, allocations: 0 / 0.8147 GB, free: 6.145 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.141e-05/0.006797, allocations: 20 kB / 0.8148 GB, free: 6.125 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.008e-06/0.006801, allocations: 3.938 kB / 0.8148 GB, free: 6.121 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.768e-05/0.006819, allocations: 3.938 kB / 0.8148 GB, free: 6.117 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.956e-06/0.006828, allocations: 11.98 kB / 0.8148 GB, free: 6.105 MB / 0.7917 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 (13): * Single equations (assignments): 13 * 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 6.845e-05/0.006897, allocations: 109.8 kB / 0.8149 GB, free: 5.988 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.658e-05/0.006913, allocations: 8 kB / 0.8149 GB, free: 5.98 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000127/0.00704, allocations: 81.81 kB / 0.815 GB, free: 5.895 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.007042, allocations: 0 / 0.815 GB, free: 5.895 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.302e-06/0.007043, allocations: 0 / 0.815 GB, free: 5.895 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.01e-06/0.007048, allocations: 3.938 kB / 0.815 GB, free: 5.891 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002586/0.007307, allocations: 230.7 kB / 0.8152 GB, free: 5.641 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.007309, allocations: 0 / 0.8152 GB, free: 5.641 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001001/0.007409, allocations: 23.98 kB / 0.8152 GB, free: 5.617 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.007412, allocations: 0 / 0.8152 GB, free: 5.617 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.327e-06/0.007421, allocations: 12 kB / 0.8152 GB, free: 5.605 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.007423, allocations: 0 / 0.8152 GB, free: 5.605 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.007426, allocations: 3.938 kB / 0.8152 GB, free: 5.602 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000161/0.007587, allocations: 178.3 kB / 0.8154 GB, free: 5.414 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 9.829e-06/0.007596, allocations: 7.953 kB / 0.8154 GB, free: 5.406 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.053e-05/0.007607, allocations: 4 kB / 0.8154 GB, free: 5.402 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.58e-05/0.007673, allocations: 0 / 0.8154 GB, free: 5.402 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.968e-05/0.007692, allocations: 15.92 kB / 0.8154 GB, free: 5.387 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.453e-06/0.007699, allocations: 0 / 0.8154 GB, free: 5.387 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 1.663e-05/0.007715, allocations: 16.83 kB / 0.8154 GB, free: 5.367 MB / 0.7917 GB Notification: Performance of sort global known variables: time 8e-08/0.007716, allocations: 4.125 kB / 0.8155 GB, free: 5.363 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0002935/0.008009, allocations: 59.75 kB / 0.8155 GB, free: 5.305 MB / 0.7917 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (dp_comp,der_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 (11): * Single equations (assignments): 11 * 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.0002767/0.008286, allocations: 162.8 kB / 0.8157 GB, free: 5.137 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.0001016/0.008387, allocations: 44.84 kB / 0.8157 GB, free: 5.09 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.008391, allocations: 0 / 0.8157 GB, free: 5.09 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 3.165e-05/0.008422, allocations: 28.78 kB / 0.8157 GB, free: 5.059 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001617/0.008584, allocations: 12.81 kB / 0.8157 GB, free: 5.047 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005984/0.009182, allocations: 262.5 kB / 0.816 GB, free: 4.758 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.021e-05/0.009232, allocations: 71.98 kB / 0.8161 GB, free: 4.668 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.877e-05/0.009301, allocations: 63.36 kB / 0.8161 GB, free: 4.605 MB / 0.7917 GB Notification: Performance of SimCode: time 8.41e-07/0.009302, allocations: 0 / 0.8161 GB, free: 4.605 MB / 0.7917 GB Notification: Performance of Templates: time 0.002658/0.01196, allocations: 1.453 MB / 0.8175 GB, free: 3.16 MB / 0.7917 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2 -emit_protected > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 5.476474658586085]