Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_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.001641/0.001641, allocations: 111.3 kB / 20.47 MB, free: 4.598 MB / 13.93 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.001994/0.001994, allocations: 221.5 kB / 23.78 MB, free: 2.09 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 1.013/1.013, allocations: 230.6 MB / 257.5 MB, free: 9.609 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 2.051/2.051, allocations: 0.505 GB / 0.8116 GB, free: 2.375 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.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_13_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_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001531/0.001531, allocations: 67.91 kB / 1.178 GB, free: 11.72 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7575/0.759, allocations: 180.1 MB / 1.354 GB, free: 1.027 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2): time 0.002375/0.7614, allocations: 1.315 MB / 1.355 GB, free: 15.71 MB / 1.042 GB Notification: Performance of NFInst.instExpressions: time 0.0008492/0.7622, allocations: 0.5721 MB / 1.355 GB, free: 15.13 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.849e-05/0.7623, allocations: 4 kB / 1.356 GB, free: 15.13 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 2.029e-05/0.7623, allocations: 0 / 1.356 GB, free: 15.13 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 4.531e-05/0.7623, allocations: 11.92 kB / 1.356 GB, free: 15.12 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006207/0.7629, allocations: 159.4 kB / 1.356 GB, free: 14.96 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 6.576e-05/0.763, allocations: 35.8 kB / 1.356 GB, free: 14.93 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.542e-05/0.7631, allocations: 0 / 1.356 GB, free: 14.93 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.506e-05/0.7631, allocations: 11.98 kB / 1.356 GB, free: 14.91 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.277e-05/0.7631, allocations: 19.91 kB / 1.356 GB, free: 14.89 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 1.09e-05/0.7632, allocations: 8 kB / 1.356 GB, free: 14.89 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000359/0.7635, allocations: 311.4 kB / 1.356 GB, free: 14.58 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 2.008e-05/0.7635, allocations: 0 / 1.356 GB, free: 14.58 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 2.801e-05/0.7636, allocations: 19.92 kB / 1.356 GB, free: 14.56 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002171/0.7638, allocations: 137.4 kB / 1.356 GB, free: 14.43 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.7638, allocations: 4 kB / 1.356 GB, free: 14.43 MB / 1.042 GB Notification: Performance of FrontEnd: time 2.414e-06/0.7638, allocations: 0 / 1.356 GB, free: 14.43 MB / 1.042 GB Notification: Performance of Transformations before backend: time 6.913e-06/0.7638, allocations: 0 / 1.356 GB, free: 14.43 MB / 1.042 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.000395/0.7642, allocations: 297.9 kB / 1.356 GB, free: 14.1 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/0.7642, allocations: 11.98 kB / 1.356 GB, free: 14.09 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.953e-05/0.7643, allocations: 12.92 kB / 1.356 GB, free: 14.08 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002464/0.7645, allocations: 106.5 kB / 1.357 GB, free: 13.95 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.095e-05/0.7645, allocations: 4.375 kB / 1.357 GB, free: 13.95 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.958e-05/0.7646, allocations: 12.31 kB / 1.357 GB, free: 13.93 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000128/0.7647, allocations: 93.66 kB / 1.357 GB, free: 13.82 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.251e-05/0.7647, allocations: 4.188 kB / 1.357 GB, free: 13.82 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.342e-05/0.7647, allocations: 7.938 kB / 1.357 GB, free: 13.81 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.7647, allocations: 3.984 kB / 1.357 GB, free: 13.81 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.284e-05/0.7648, allocations: 19.98 kB / 1.357 GB, free: 13.79 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001314/0.7649, allocations: 113.3 kB / 1.357 GB, free: 13.65 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 9.928e-05/0.765, allocations: 62.5 kB / 1.357 GB, free: 13.58 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.586e-05/0.765, allocations: 28.84 kB / 1.357 GB, free: 13.55 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.233e-05/0.765, allocations: 0 / 1.357 GB, free: 13.55 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.172e-05/0.7651, allocations: 30.8 kB / 1.357 GB, free: 13.51 MB / 1.042 GB Notification: Performance of pre-optimization done (n=7): time 8.21e-07/0.7651, allocations: 0 / 1.357 GB, free: 13.51 MB / 1.042 GB Notification: Performance of matching and sorting (n=11): time 0.001031/0.7661, allocations: 455.5 kB / 1.357 GB, free: 13.01 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.172e-05/0.7661, allocations: 51.41 kB / 1.357 GB, free: 12.95 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.565e-05/0.7662, allocations: 101.9 kB / 1.358 GB, free: 12.84 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 1.196e-05/0.7662, allocations: 25.7 kB / 1.358 GB, free: 12.8 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 2.669e-05/0.7662, allocations: 84.08 kB / 1.358 GB, free: 12.72 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 3.945e-05/0.7663, allocations: 47.62 kB / 1.358 GB, free: 12.67 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.748e-05/0.7663, allocations: 29.7 kB / 1.358 GB, free: 12.64 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 8.259e-05/0.7664, allocations: 314.8 kB / 1.358 GB, free: 12.32 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.73e-05/0.7664, allocations: 23.98 kB / 1.358 GB, free: 12.3 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.035e-05/0.7665, allocations: 21.88 kB / 1.358 GB, free: 12.28 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.565e-05/0.7665, allocations: 60.84 kB / 1.358 GB, free: 12.21 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.7665, allocations: 96 / 1.358 GB, free: 12.21 MB / 1.042 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001068/0.7666, allocations: 94.38 kB / 1.358 GB, free: 12.12 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.7667, allocations: 11.94 kB / 1.358 GB, free: 12.11 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.7667, allocations: 0 / 1.358 GB, free: 12.11 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.771e-05/0.7667, allocations: 4 kB / 1.358 GB, free: 12.1 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.876e-05/0.7668, allocations: 27.92 kB / 1.358 GB, free: 12.07 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.7668, allocations: 0 / 1.358 GB, free: 12.07 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.514e-05/0.7668, allocations: 4 kB / 1.358 GB, free: 12.07 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.152e-06/0.7668, allocations: 0 / 1.358 GB, free: 12.07 MB / 1.042 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.325e-05/0.7669, allocations: 113.8 kB / 1.358 GB, free: 11.95 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.285e-05/0.7669, allocations: 15.88 kB / 1.358 GB, free: 11.93 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001436/0.767, allocations: 113.6 kB / 1.358 GB, free: 11.81 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.767, allocations: 4 kB / 1.358 GB, free: 11.81 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.767, allocations: 4 kB / 1.358 GB, free: 11.8 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.767, allocations: 0 / 1.358 GB, free: 11.8 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000301/0.7673, allocations: 294.1 kB / 1.359 GB, free: 11.48 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.7673, allocations: 0 / 1.359 GB, free: 11.48 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.569e-05/0.7674, allocations: 23.92 kB / 1.359 GB, free: 11.46 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.7674, allocations: 4 kB / 1.359 GB, free: 11.45 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.783e-06/0.7674, allocations: 0 / 1.359 GB, free: 11.45 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.7674, allocations: 0 / 1.359 GB, free: 11.45 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.7674, allocations: 0 / 1.359 GB, free: 11.45 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002071/0.7676, allocations: 221.7 kB / 1.359 GB, free: 11.22 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 8.106e-06/0.7676, allocations: 7.984 kB / 1.359 GB, free: 11.21 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.261e-05/0.7677, allocations: 0 / 1.359 GB, free: 11.21 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.096e-05/0.7677, allocations: 7.984 kB / 1.359 GB, free: 11.21 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.203e-05/0.7677, allocations: 7.984 kB / 1.359 GB, free: 11.2 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.092e-06/0.7677, allocations: 7.938 kB / 1.359 GB, free: 11.19 MB / 1.042 GB Notification: Performance of sorting global known variables: time 2.356e-05/0.7678, allocations: 83.22 kB / 1.359 GB, free: 11.11 MB / 1.042 GB Notification: Performance of sort global known variables: time 5e-08/0.7678, allocations: 0 / 1.359 GB, free: 11.11 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0002137/0.768, allocations: 47.81 kB / 1.359 GB, free: 11.06 MB / 1.042 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.0002137/0.7682, allocations: 167.1 kB / 1.359 GB, free: 10.89 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0001322/0.7683, allocations: 55.92 kB / 1.359 GB, free: 10.84 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.7683, allocations: 7.938 kB / 1.359 GB, free: 10.83 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 2.858e-05/0.7683, allocations: 23.98 kB / 1.359 GB, free: 10.8 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001614/0.7685, allocations: 11.94 kB / 1.359 GB, free: 10.79 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004721/0.769, allocations: 314.8 kB / 1.36 GB, free: 10.45 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.162e-05/0.769, allocations: 71.34 kB / 1.36 GB, free: 10.36 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.616e-05/0.7691, allocations: 11.44 kB / 1.36 GB, free: 10.35 MB / 1.042 GB Notification: Performance of SimCode: time 7.11e-07/0.7691, allocations: 3.938 kB / 1.36 GB, free: 10.35 MB / 1.042 GB Notification: Performance of Templates: time 0.002417/0.7715, allocations: 1.367 MB / 1.361 GB, free: 8.984 MB / 1.042 GB " [Timeout remaining time 299] make -j1 -f Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2.pipe ; mkfifo Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2.pipe >> ../files/Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2.sim & ./Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2 > Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 8.101074905134737]