Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001366/0.001366, allocations: 87.73 kB / 20.91 MB, free: 3.348 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.00603/0.00603, allocations: 153.4 kB / 24.33 MB, free: 9.105 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.9416/0.9416, allocations: 177.1 MB / 204.8 MB, free: 5.062 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.852/1.852, allocations: 378.2 MB / 0.6245 GB, free: 7.961 MB / 0.5886 GB " [Timeout remaining time 178] 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_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.164e-06/2.164e-06, allocations: 0 / 0.7608 GB, free: 5.961 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.51e-05/2.726e-05, allocations: 3.766 kB / 0.7608 GB, free: 5.957 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2): time 0.002758/0.002786, allocations: 1.404 MB / 0.7622 GB, free: 4.566 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001086/0.003871, allocations: 0.6126 MB / 0.7628 GB, free: 3.965 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.106e-05/0.003912, allocations: 0 / 0.7628 GB, free: 3.965 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 2.475e-05/0.003937, allocations: 5.688 kB / 0.7628 GB, free: 3.961 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 4.922e-05/0.003986, allocations: 2.078 kB / 0.7628 GB, free: 3.961 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006419/0.004628, allocations: 161.4 kB / 0.7629 GB, free: 3.812 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 7.065e-05/0.004699, allocations: 35.84 kB / 0.7629 GB, free: 3.777 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 3.637e-05/0.004735, allocations: 0.5938 kB / 0.7629 GB, free: 3.777 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 4.501e-05/0.00478, allocations: 20.73 kB / 0.763 GB, free: 3.758 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 7.066e-05/0.004851, allocations: 11.97 kB / 0.763 GB, free: 3.746 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.278e-05/0.004864, allocations: 0.75 kB / 0.763 GB, free: 3.746 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005189/0.005382, allocations: 331.3 kB / 0.7633 GB, free: 3.422 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0001573/0.00554, allocations: 8.672 kB / 0.7633 GB, free: 3.414 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.363e-05/0.005563, allocations: 12 kB / 0.7633 GB, free: 3.402 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002961/0.005859, allocations: 165.7 kB / 0.7635 GB, free: 3.242 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.005864, allocations: 0 / 0.7635 GB, free: 3.242 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.884e-06/0.005865, allocations: 4 kB / 0.7635 GB, free: 3.238 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.889e-06/0.00587, allocations: 0 / 0.7635 GB, free: 3.238 MB / 0.7136 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.0003493/0.00622, allocations: 264.2 kB / 0.7637 GB, free: 2.953 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.476e-05/0.006254, allocations: 8.031 kB / 0.7637 GB, free: 2.945 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.448e-05/0.006289, allocations: 16.3 kB / 0.7638 GB, free: 2.934 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.552e-05/0.006384, allocations: 114.1 kB / 0.7639 GB, free: 2.797 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.176e-05/0.006396, allocations: 384 / 0.7639 GB, free: 2.797 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.006e-05/0.006426, allocations: 12.33 kB / 0.7639 GB, free: 2.785 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001151/0.006541, allocations: 93.64 kB / 0.764 GB, free: 2.676 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/0.006554, allocations: 192 / 0.764 GB, free: 2.676 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.235e-05/0.006566, allocations: 8.375 kB / 0.764 GB, free: 2.668 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.006573, allocations: 384 / 0.764 GB, free: 2.668 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.942e-05/0.006612, allocations: 11.94 kB / 0.764 GB, free: 2.656 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001736/0.006786, allocations: 72 kB / 0.7641 GB, free: 2.574 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001176/0.006903, allocations: 50.56 kB / 0.7641 GB, free: 2.516 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.342e-05/0.006937, allocations: 20.86 kB / 0.7641 GB, free: 2.492 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.546e-05/0.006962, allocations: 0 / 0.7641 GB, free: 2.492 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.101e-05/0.007003, allocations: 34.56 kB / 0.7642 GB, free: 2.449 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 3.737e-06/0.007007, allocations: 3.984 kB / 0.7642 GB, free: 2.445 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11): time 0.001221/0.008228, allocations: 436.3 kB / 0.7646 GB, free: 1.969 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.594e-05/0.008264, allocations: 55.41 kB / 0.7646 GB, free: 1.902 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.3e-05/0.008327, allocations: 106.6 kB / 0.7647 GB, free: 1.785 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.888e-05/0.008346, allocations: 33.7 kB / 0.7648 GB, free: 1.746 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.493e-05/0.00837, allocations: 80.14 kB / 0.7648 GB, free: 1.664 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.43e-05/0.008415, allocations: 42.39 kB / 0.7649 GB, free: 1.625 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.19e-05/0.008457, allocations: 25.7 kB / 0.7649 GB, free: 1.594 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.293e-05/0.00855, allocations: 322.8 kB / 0.7652 GB, free: 1.27 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.178e-05/0.008571, allocations: 11.98 kB / 0.7652 GB, free: 1.258 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.831e-05/0.00859, allocations: 8 kB / 0.7652 GB, free: 1.25 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.919e-05/0.008659, allocations: 40.31 kB / 0.7653 GB, free: 1.211 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.00866, allocations: 0 / 0.7653 GB, free: 1.211 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000104/0.008764, allocations: 78.42 kB / 0.7653 GB, free: 1.129 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.008779, allocations: 4 kB / 0.7653 GB, free: 1.125 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.008784, allocations: 1.562 kB / 0.7653 GB, free: 1.125 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.054e-05/0.008795, allocations: 0 / 0.7653 GB, free: 1.125 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001047/0.008899, allocations: 27.98 kB / 0.7654 GB, free: 1.098 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.008904, allocations: 3.938 kB / 0.7654 GB, free: 1.094 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.936e-05/0.008923, allocations: 1.281 kB / 0.7654 GB, free: 1.094 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.277e-06/0.008933, allocations: 4 kB / 0.7654 GB, free: 1.09 MB / 0.7136 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 7.765e-05/0.00901, allocations: 113.8 kB / 0.7655 GB, free: 0.9688 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.666e-05/0.009027, allocations: 8.656 kB / 0.7655 GB, free: 0.9609 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001462/0.009173, allocations: 81.77 kB / 0.7656 GB, free: 0.8672 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.009176, allocations: 4.844 kB / 0.7656 GB, free: 0.8633 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.813e-06/0.009178, allocations: 0 / 0.7656 GB, free: 0.8633 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.009182, allocations: 4.531 kB / 0.7656 GB, free: 0.8594 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002744/0.009456, allocations: 226.7 kB / 0.7658 GB, free: 0.6133 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.009459, allocations: 0.5938 kB / 0.7658 GB, free: 0.6133 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000113/0.009572, allocations: 24.95 kB / 0.7658 GB, free: 0.5898 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.009574, allocations: 0 / 0.7658 GB, free: 0.5898 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.854e-06/0.009582, allocations: 4 kB / 0.7658 GB, free: 0.5859 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.009585, allocations: 5.469 kB / 0.7658 GB, free: 0.582 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.286e-06/0.009594, allocations: 3.938 kB / 0.7658 GB, free: 0.5781 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001791/0.009773, allocations: 183.4 kB / 0.766 GB, free: 392 kB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 9.448e-06/0.009782, allocations: 4.516 kB / 0.766 GB, free: 388 kB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.316e-05/0.009795, allocations: 7.938 kB / 0.766 GB, free: 380 kB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.604e-05/0.009862, allocations: 4.781 kB / 0.766 GB, free: 376 kB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.124e-05/0.009883, allocations: 15.92 kB / 0.766 GB, free: 360 kB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.034e-06/0.00989, allocations: 1.219 kB / 0.766 GB, free: 360 kB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.177e-05/0.009902, allocations: 4.859 kB / 0.7661 GB, free: 352 kB / 0.7136 GB Notification: Performance of sort global known variables: time 1e-07/0.009902, allocations: 4.938 kB / 0.7661 GB, free: 348 kB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002923/0.01019, allocations: 63.73 kB / 0.7661 GB, free: 284 kB / 0.7136 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.0002477/0.01044, allocations: 149 kB / 0.7663 GB, free: 128 kB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001052/0.01055, allocations: 44.78 kB / 0.7663 GB, free: 80 kB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.01055, allocations: 2.562 kB / 0.7663 GB, free: 80 kB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.858e-05/0.01059, allocations: 32.77 kB / 0.7663 GB, free: 44 kB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001536/0.01074, allocations: 8.609 kB / 0.7663 GB, free: 36 kB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006134/0.01136, allocations: 232.6 kB / 0.7666 GB, free: 15.8 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.401e-05/0.0114, allocations: 67.28 kB / 0.7666 GB, free: 15.71 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 4.728e-05/0.01145, allocations: 6 kB / 0.7666 GB, free: 15.71 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003374/0.01178, allocations: 63.36 kB / 0.7667 GB, free: 15.65 MB / 0.7292 GB Notification: Performance of SimCode: time 7.01e-07/0.01179, allocations: 1 kB / 0.7667 GB, free: 15.65 MB / 0.7292 GB Notification: Performance of Templates: time 0.006298/0.01808, allocations: 1.541 MB / 0.7682 GB, free: 14.24 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2.pipe ; mkfifo Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2.pipe >> ../files/Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2.sim & ./Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2 -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.086905587464571]