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.0009249/0.0009249, allocations: 83.67 kB / 21.81 MB, free: 2.496 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.001546/0.001546, allocations: 167.5 kB / 25.27 MB, free: 8.957 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.8868/0.8868, allocations: 177.2 MB / 205.8 MB, free: 4.426 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.901/1.901, allocations: 378.2 MB / 0.6255 GB, free: 8.633 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 1.163e-06/1.163e-06, allocations: 0 / 0.7618 GB, free: 12.88 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 9.348e-06/1.051e-05, allocations: 2.312 kB / 0.7618 GB, free: 12.88 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2): time 0.001646/0.001657, allocations: 1.404 MB / 0.7631 GB, free: 11.46 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.000734/0.00239, allocations: 0.6148 MB / 0.7637 GB, free: 10.84 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.883e-05/0.002409, allocations: 4 kB / 0.7637 GB, free: 10.84 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 1.041e-05/0.00242, allocations: 0 / 0.7637 GB, free: 10.84 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 2.33e-05/0.002443, allocations: 11.88 kB / 0.7637 GB, free: 10.82 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004181/0.002861, allocations: 155.2 kB / 0.7639 GB, free: 10.67 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 3.525e-05/0.002896, allocations: 27.91 kB / 0.7639 GB, free: 10.64 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 1.856e-05/0.002915, allocations: 4 kB / 0.7639 GB, free: 10.64 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 2.622e-05/0.002941, allocations: 19.92 kB / 0.7639 GB, free: 10.62 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 2.817e-05/0.002969, allocations: 11.98 kB / 0.764 GB, free: 10.61 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 7.204e-06/0.002976, allocations: 4 kB / 0.764 GB, free: 10.61 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000306/0.003283, allocations: 327.2 kB / 0.7643 GB, free: 10.29 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.084e-05/0.003293, allocations: 11.98 kB / 0.7643 GB, free: 10.27 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 1.399e-05/0.003307, allocations: 11.94 kB / 0.7643 GB, free: 10.26 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001586/0.003466, allocations: 167.5 kB / 0.7645 GB, free: 10.1 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.262e-06/0.003467, allocations: 0 / 0.7645 GB, free: 10.1 MB / 0.7292 GB Notification: Performance of FrontEnd: time 4.61e-07/0.003468, allocations: 0 / 0.7645 GB, free: 10.1 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.054e-06/0.00347, allocations: 0 / 0.7645 GB, free: 10.1 MB / 0.7292 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.0001915/0.003661, allocations: 268.2 kB / 0.7647 GB, free: 9.809 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 1.936e-05/0.003681, allocations: 8.031 kB / 0.7647 GB, free: 9.801 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.608e-05/0.003697, allocations: 8.922 kB / 0.7647 GB, free: 9.793 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.881e-05/0.003746, allocations: 110 kB / 0.7648 GB, free: 9.66 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.005e-06/0.003754, allocations: 12.38 kB / 0.7648 GB, free: 9.648 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.219e-05/0.003766, allocations: 4.375 kB / 0.7648 GB, free: 9.645 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.189e-05/0.003828, allocations: 101.6 kB / 0.7649 GB, free: 9.527 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.03e-06/0.003833, allocations: 192 / 0.7649 GB, free: 9.527 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.128e-06/0.003837, allocations: 384 / 0.7649 GB, free: 9.527 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.076e-06/0.00384, allocations: 384 / 0.7649 GB, free: 9.527 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.615e-05/0.003856, allocations: 11.94 kB / 0.765 GB, free: 9.516 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.247e-05/0.003918, allocations: 72.98 kB / 0.765 GB, free: 9.43 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 5.741e-05/0.003976, allocations: 54.53 kB / 0.7651 GB, free: 9.367 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.719e-05/0.003993, allocations: 16.86 kB / 0.7651 GB, free: 9.348 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 9.047e-06/0.004002, allocations: 8 kB / 0.7651 GB, free: 9.34 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.694e-05/0.004019, allocations: 34.56 kB / 0.7651 GB, free: 9.297 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 5.21e-07/0.00402, allocations: 0 / 0.7651 GB, free: 9.297 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11): time 0.0006026/0.004622, allocations: 431.7 kB / 0.7655 GB, free: 8.82 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.446e-05/0.004647, allocations: 59.41 kB / 0.7656 GB, free: 8.75 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.517e-05/0.004692, allocations: 102.7 kB / 0.7657 GB, free: 8.637 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.135e-05/0.004703, allocations: 25.7 kB / 0.7657 GB, free: 8.605 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.853e-05/0.004732, allocations: 88.11 kB / 0.7658 GB, free: 8.516 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.927e-05/0.004761, allocations: 43.59 kB / 0.7658 GB, free: 8.473 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.037e-05/0.004791, allocations: 29.69 kB / 0.7659 GB, free: 8.438 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.169e-05/0.004883, allocations: 314.8 kB / 0.7662 GB, free: 8.121 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.289e-05/0.004896, allocations: 11.98 kB / 0.7662 GB, free: 8.109 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.434e-05/0.00491, allocations: 12 kB / 0.7662 GB, free: 8.098 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.06e-05/0.004951, allocations: 47.27 kB / 0.7662 GB, free: 8.051 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.81e-07/0.004951, allocations: 4.125 kB / 0.7663 GB, free: 8.047 MB / 0.7292 GB Notification: Performance of matching and sorting (n=13) (initialization): time 6.55e-05/0.005017, allocations: 65.61 kB / 0.7663 GB, free: 7.977 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 7.765e-06/0.005025, allocations: 8 kB / 0.7663 GB, free: 7.969 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.575e-06/0.005027, allocations: 0 / 0.7663 GB, free: 7.969 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.178e-06/0.005031, allocations: 0 / 0.7663 GB, free: 7.969 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.511e-05/0.005087, allocations: 23.98 kB / 0.7663 GB, free: 7.945 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.236e-06/0.00509, allocations: 3.938 kB / 0.7663 GB, free: 7.941 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.359e-05/0.005103, allocations: 8 kB / 0.7664 GB, free: 7.934 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.747e-06/0.005107, allocations: 0 / 0.7664 GB, free: 7.934 MB / 0.7292 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 5.918e-05/0.005166, allocations: 117.8 kB / 0.7665 GB, free: 7.809 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.195e-06/0.005175, allocations: 8 kB / 0.7665 GB, free: 7.801 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.946e-05/0.005264, allocations: 77.77 kB / 0.7665 GB, free: 7.719 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.022e-06/0.005265, allocations: 0 / 0.7665 GB, free: 7.719 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.132e-06/0.005266, allocations: 4 kB / 0.7666 GB, free: 7.715 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.00527, allocations: 3.938 kB / 0.7666 GB, free: 7.711 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001791/0.005449, allocations: 230.7 kB / 0.7668 GB, free: 7.461 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.00545, allocations: 0 / 0.7668 GB, free: 7.461 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.622e-05/0.005506, allocations: 23.98 kB / 0.7668 GB, free: 7.438 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.363e-06/0.005508, allocations: 0 / 0.7668 GB, free: 7.438 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.04e-06/0.005513, allocations: 4 kB / 0.7668 GB, free: 7.434 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.005514, allocations: 0 / 0.7668 GB, free: 7.434 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.005515, allocations: 7.938 kB / 0.7668 GB, free: 7.426 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000102/0.005617, allocations: 183.7 kB / 0.767 GB, free: 7.23 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 5.169e-06/0.005623, allocations: 4 kB / 0.767 GB, free: 7.227 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.644e-06/0.00563, allocations: 3.984 kB / 0.767 GB, free: 7.223 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.576e-05/0.005666, allocations: 4 kB / 0.767 GB, free: 7.219 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.157e-05/0.005678, allocations: 11.92 kB / 0.767 GB, free: 7.207 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.809e-06/0.005682, allocations: 4 kB / 0.767 GB, free: 7.203 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 6.612e-06/0.005689, allocations: 8.844 kB / 0.767 GB, free: 7.191 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4e-08/0.005689, allocations: 3.938 kB / 0.767 GB, free: 7.188 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001842/0.005873, allocations: 63.86 kB / 0.7671 GB, free: 7.125 MB / 0.7292 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.0001388/0.006012, allocations: 152.1 kB / 0.7672 GB, free: 6.965 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 5.925e-05/0.006071, allocations: 48.77 kB / 0.7673 GB, free: 6.914 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.006073, allocations: 0 / 0.7673 GB, free: 6.914 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 2.175e-05/0.006095, allocations: 24.86 kB / 0.7673 GB, free: 6.887 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.139e-05/0.006176, allocations: 11.92 kB / 0.7673 GB, free: 6.875 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003565/0.006533, allocations: 228.2 kB / 0.7675 GB, free: 6.625 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.121e-05/0.006564, allocations: 67.28 kB / 0.7676 GB, free: 6.539 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.535e-05/0.006589, allocations: 8 kB / 0.7676 GB, free: 6.531 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.03e-05/0.00663, allocations: 63.31 kB / 0.7677 GB, free: 6.469 MB / 0.7292 GB Notification: Performance of SimCode: time 3.91e-07/0.00663, allocations: 0 / 0.7677 GB, free: 6.469 MB / 0.7292 GB Notification: Performance of Templates: time 0.002602/0.009232, allocations: 1.543 MB / 0.7692 GB, free: 4.965 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: 4.549664346501231]