Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_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.001117/0.001117, 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.005288/0.005288, allocations: 150.4 kB / 24.32 MB, free: 9.102 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.9086/0.9086, allocations: 177.2 MB / 204.8 MB, free: 5.391 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.861/1.861, allocations: 378.2 MB / 0.6245 GB, free: 7.973 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_m_flow_inv_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.425e-06/2.425e-06, allocations: 4 kB / 0.7608 GB, free: 5.91 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.869e-05/2.112e-05, allocations: 2.312 kB / 0.7608 GB, free: 5.906 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2): time 0.001821/0.001842, allocations: 1.389 MB / 0.7622 GB, free: 4.527 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0008053/0.002647, allocations: 0.593 MB / 0.7627 GB, free: 3.945 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.024e-05/0.002678, allocations: 4 kB / 0.7627 GB, free: 3.941 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 1.976e-05/0.002697, allocations: 6.234 kB / 0.7627 GB, free: 3.938 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 3.94e-05/0.002737, allocations: 5.625 kB / 0.7627 GB, free: 3.934 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004361/0.003173, allocations: 153.8 kB / 0.7629 GB, free: 3.793 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 6.124e-05/0.003234, allocations: 30.61 kB / 0.7629 GB, free: 3.766 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 3.945e-05/0.003274, allocations: 0 / 0.7629 GB, free: 3.766 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 4.651e-05/0.00332, allocations: 24.8 kB / 0.7629 GB, free: 3.742 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 5.527e-05/0.003375, allocations: 7.984 kB / 0.763 GB, free: 3.734 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.077e-05/0.003386, allocations: 0 / 0.763 GB, free: 3.734 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003543/0.00374, allocations: 335.8 kB / 0.7633 GB, free: 3.406 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.623e-05/0.003757, allocations: 4.656 kB / 0.7633 GB, free: 3.402 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.262e-05/0.003779, allocations: 15.92 kB / 0.7633 GB, free: 3.387 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0003862/0.004165, allocations: 164.6 kB / 0.7634 GB, free: 3.227 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.304e-06/0.004168, allocations: 0 / 0.7634 GB, free: 3.227 MB / 0.7136 GB Notification: Performance of FrontEnd: time 7.72e-07/0.004169, allocations: 0 / 0.7634 GB, free: 3.227 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.841e-06/0.004174, allocations: 1.031 kB / 0.7634 GB, free: 3.227 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.0003168/0.004491, allocations: 272.2 kB / 0.7637 GB, free: 2.934 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/0.004532, allocations: 12.03 kB / 0.7637 GB, free: 2.922 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.741e-05/0.00456, allocations: 5.5 kB / 0.7637 GB, free: 2.918 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.844e-05/0.004648, allocations: 111.8 kB / 0.7638 GB, free: 2.785 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.355e-05/0.004662, allocations: 4.375 kB / 0.7638 GB, free: 2.781 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.758e-05/0.004689, allocations: 8.328 kB / 0.7638 GB, free: 2.773 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001088/0.004798, allocations: 97.64 kB / 0.7639 GB, free: 2.66 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.004809, allocations: 192 / 0.7639 GB, free: 2.66 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.236e-06/0.004817, allocations: 5.594 kB / 0.7639 GB, free: 2.656 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.004822, allocations: 384 / 0.7639 GB, free: 2.656 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.279e-05/0.004855, allocations: 15.92 kB / 0.764 GB, free: 2.641 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001034/0.004959, allocations: 69.72 kB / 0.764 GB, free: 2.559 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.635e-05/0.005035, allocations: 55.39 kB / 0.7641 GB, free: 2.496 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.215e-05/0.005057, allocations: 21.06 kB / 0.7641 GB, free: 2.473 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.476e-05/0.005072, allocations: 4.75 kB / 0.7641 GB, free: 2.469 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.313e-05/0.005095, allocations: 34.56 kB / 0.7641 GB, free: 2.426 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.022e-06/0.005096, allocations: 0.5 kB / 0.7641 GB, free: 2.426 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11): time 0.0007433/0.005839, allocations: 439.3 kB / 0.7646 GB, free: 1.945 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.471e-05/0.005874, allocations: 51.41 kB / 0.7646 GB, free: 1.883 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.289e-05/0.005927, allocations: 102.7 kB / 0.7647 GB, free: 1.77 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.253e-05/0.005939, allocations: 32.14 kB / 0.7647 GB, free: 1.734 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.052e-05/0.00596, allocations: 80.14 kB / 0.7648 GB, free: 1.652 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.707e-05/0.005997, allocations: 43.62 kB / 0.7649 GB, free: 1.609 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.242e-05/0.006029, allocations: 37.69 kB / 0.7649 GB, free: 1.566 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.075e-05/0.0061, allocations: 310.8 kB / 0.7652 GB, free: 1.254 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.334e-05/0.006114, allocations: 12 kB / 0.7652 GB, free: 1.242 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.458e-05/0.006128, allocations: 17.58 kB / 0.7652 GB, free: 1.227 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.452e-05/0.006173, allocations: 40.08 kB / 0.7652 GB, free: 1.188 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.006174, allocations: 0 / 0.7652 GB, free: 1.188 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 7.315e-05/0.006247, allocations: 69.61 kB / 0.7653 GB, free: 1.113 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.24e-05/0.006259, allocations: 8 kB / 0.7653 GB, free: 1.105 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.006264, allocations: 1.031 kB / 0.7653 GB, free: 1.105 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.336e-06/0.006272, allocations: 0 / 0.7653 GB, free: 1.105 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.193e-05/0.006344, allocations: 23.98 kB / 0.7653 GB, free: 1.082 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.747e-06/0.006348, allocations: 4.875 kB / 0.7654 GB, free: 1.078 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.242e-05/0.00636, allocations: 0 / 0.7654 GB, free: 1.078 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.668e-06/0.006365, allocations: 5.312 kB / 0.7654 GB, free: 1.074 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 5.671e-05/0.006422, allocations: 121.8 kB / 0.7655 GB, free: 0.9453 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.007e-06/0.006431, allocations: 8 kB / 0.7655 GB, free: 0.9375 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001045/0.006535, allocations: 76.53 kB / 0.7656 GB, free: 0.8516 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.006537, allocations: 0 / 0.7656 GB, free: 0.8516 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.512e-06/0.006538, allocations: 0 / 0.7656 GB, free: 0.8516 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.449e-06/0.006543, allocations: 7.938 kB / 0.7656 GB, free: 0.8438 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002092/0.006752, allocations: 222.7 kB / 0.7658 GB, free: 0.6016 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.006753, allocations: 4 kB / 0.7658 GB, free: 0.5977 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.32e-05/0.006816, allocations: 19.98 kB / 0.7658 GB, free: 0.5781 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.006819, allocations: 6.344 kB / 0.7658 GB, free: 0.5742 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.08e-06/0.006824, allocations: 0 / 0.7658 GB, free: 0.5742 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.006825, allocations: 0 / 0.7658 GB, free: 0.5742 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.006827, allocations: 3.938 kB / 0.7658 GB, free: 0.5703 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001179/0.006944, allocations: 187.7 kB / 0.766 GB, free: 380 kB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 8.255e-06/0.006953, allocations: 8 kB / 0.766 GB, free: 372 kB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.716e-06/0.006961, allocations: 2.438 kB / 0.766 GB, free: 372 kB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.728e-05/0.006999, allocations: 0 / 0.766 GB, free: 372 kB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.542e-05/0.007014, allocations: 15.86 kB / 0.766 GB, free: 356 kB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.773e-06/0.007021, allocations: 4 kB / 0.766 GB, free: 352 kB / 0.7136 GB Notification: Performance of sorting global known variables: time 9.598e-06/0.007031, allocations: 12.84 kB / 0.766 GB, free: 336 kB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.007031, allocations: 0 / 0.766 GB, free: 336 kB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001852/0.007216, allocations: 60.62 kB / 0.7661 GB, free: 276 kB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (m_flow_comp,der_m_flow_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.0002011/0.007417, allocations: 152.8 kB / 0.7662 GB, free: 116 kB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 8.434e-05/0.007501, allocations: 52.78 kB / 0.7663 GB, free: 60 kB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.007504, allocations: 0.5625 kB / 0.7663 GB, free: 60 kB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.341e-05/0.007527, allocations: 29.59 kB / 0.7663 GB, free: 28 kB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001221/0.007649, allocations: 8.812 kB / 0.7663 GB, free: 20 kB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005204/0.00817, allocations: 233.1 kB / 0.7665 GB, free: 15.79 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.512e-05/0.008205, allocations: 62.11 kB / 0.7666 GB, free: 15.71 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.359e-05/0.008239, allocations: 12.02 kB / 0.7666 GB, free: 15.7 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.683e-05/0.008285, allocations: 67.39 kB / 0.7667 GB, free: 15.63 MB / 0.7292 GB Notification: Performance of SimCode: time 8.02e-07/0.008286, allocations: 0 / 0.7667 GB, free: 15.63 MB / 0.7292 GB Notification: Performance of Templates: time 0.003133/0.01142, allocations: 1.58 MB / 0.7682 GB, free: 14.18 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2.pipe ; mkfifo Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2.pipe >> ../files/Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2.sim & ./Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2 -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.803241445682943]