Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_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.000681/0.000681, allocations: 72.17 kB / 9.888 MB, free: 0.8008 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000914/0.001595, allocations: 449.7 kB / 10.33 MB, free: 372 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.001438/0.001438, allocations: 149.2 kB / 11.21 MB, free: 2.961 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001524/0.002962, allocations: 463.6 kB / 11.66 MB, free: 2.504 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.9147/0.9147, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08652/1.001, allocations: 53.65 MB / 243.2 MB, free: 15.58 MB / 250.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 1.818/1.818, allocations: 389.9 MB / 0.619 GB, free: 11.79 MB / 0.6042 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4672/2.285, allocations: 127.1 MB / 0.7432 GB, free: 4.609 MB / 0.7136 GB " [Timeout remaining time 178] 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_m_flow_inv_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_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_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 0.7444 GB, free: 3.34 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.139e-05/2.306e-05, allocations: 2.312 kB / 0.7444 GB, free: 3.336 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2): time 0.002758/0.002781, allocations: 1.395 MB / 0.7458 GB, free: 1.957 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0009288/0.00371, allocations: 0.5927 MB / 0.7464 GB, free: 1.375 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.877e-05/0.003738, allocations: 0 / 0.7464 GB, free: 1.375 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 8.295e-06/0.003747, allocations: 1.781 kB / 0.7464 GB, free: 1.375 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 3.21e-05/0.003779, allocations: 7.156 kB / 0.7464 GB, free: 1.371 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005332/0.004312, allocations: 152.6 kB / 0.7465 GB, free: 1.23 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 7.122e-05/0.004383, allocations: 35.12 kB / 0.7465 GB, free: 1.203 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 4.221e-05/0.004425, allocations: 10.05 kB / 0.7466 GB, free: 1.195 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 5.51e-05/0.004481, allocations: 15.98 kB / 0.7466 GB, free: 1.18 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 6.823e-05/0.004549, allocations: 15.91 kB / 0.7466 GB, free: 1.164 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.392e-05/0.004563, allocations: 4 kB / 0.7466 GB, free: 1.16 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005434/0.005106, allocations: 327.2 kB / 0.7469 GB, free: 0.8398 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.424e-05/0.00512, allocations: 4.594 kB / 0.7469 GB, free: 0.8359 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.145e-05/0.005142, allocations: 8 kB / 0.7469 GB, free: 0.8281 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002647/0.005406, allocations: 138.8 kB / 0.747 GB, free: 0.6953 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.354e-05/0.00542, allocations: 4 kB / 0.747 GB, free: 0.6914 MB / 0.7136 GB Notification: Performance of FrontEnd: time 8.22e-07/0.005421, allocations: 0 / 0.747 GB, free: 0.6914 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.399e-05/0.005435, allocations: 0 / 0.747 GB, free: 0.6914 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.000433/0.005868, allocations: 288.2 kB / 0.7473 GB, free: 392 kB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.404e-05/0.005902, allocations: 8.031 kB / 0.7473 GB, free: 384 kB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.674e-05/0.005939, allocations: 4.938 kB / 0.7473 GB, free: 380 kB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.301e-05/0.006032, allocations: 113.7 kB / 0.7474 GB, free: 240 kB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.04e-05/0.006042, allocations: 1.094 kB / 0.7474 GB, free: 240 kB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.907e-05/0.006071, allocations: 8.375 kB / 0.7475 GB, free: 232 kB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001166/0.006188, allocations: 102.3 kB / 0.7476 GB, free: 112 kB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.006198, allocations: 8.656 kB / 0.7476 GB, free: 104 kB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.213e-06/0.006205, allocations: 384 / 0.7476 GB, free: 104 kB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/0.006211, allocations: 1 kB / 0.7476 GB, free: 104 kB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.221e-05/0.006243, allocations: 17.42 kB / 0.7476 GB, free: 88 kB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001119/0.006355, allocations: 68.98 kB / 0.7476 GB, free: 4 kB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001086/0.006464, allocations: 46.62 kB / 0.7477 GB, free: 15.95 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.275e-05/0.006497, allocations: 33.75 kB / 0.7477 GB, free: 15.91 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.748e-05/0.006514, allocations: 0 / 0.7477 GB, free: 15.91 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.653e-05/0.006541, allocations: 34.56 kB / 0.7478 GB, free: 15.87 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 1.192e-06/0.006542, allocations: 0.5938 kB / 0.7478 GB, free: 15.87 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11): time 0.0009586/0.0075, allocations: 427 kB / 0.7482 GB, free: 15.4 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.237e-05/0.007533, allocations: 59.34 kB / 0.7482 GB, free: 15.33 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.493e-05/0.007598, allocations: 108.4 kB / 0.7483 GB, free: 15.21 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.413e-05/0.007612, allocations: 25.7 kB / 0.7483 GB, free: 15.18 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.441e-05/0.007636, allocations: 80.14 kB / 0.7484 GB, free: 15.1 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 4.502e-05/0.007681, allocations: 47.56 kB / 0.7485 GB, free: 15.05 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.468e-05/0.007726, allocations: 32.12 kB / 0.7485 GB, free: 15.02 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.000102/0.007828, allocations: 318.8 kB / 0.7488 GB, free: 14.7 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.286e-05/0.007851, allocations: 12 kB / 0.7488 GB, free: 14.69 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.449e-05/0.007875, allocations: 15.92 kB / 0.7488 GB, free: 14.67 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.891e-05/0.007934, allocations: 39.2 kB / 0.7489 GB, free: 14.63 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.007936, allocations: 0 / 0.7489 GB, free: 14.63 MB / 0.7292 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000101/0.008037, allocations: 62.22 kB / 0.7489 GB, free: 14.57 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.008051, allocations: 6.5 kB / 0.7489 GB, free: 14.56 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.008057, allocations: 5.156 kB / 0.7489 GB, free: 14.56 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.186e-05/0.008069, allocations: 3.984 kB / 0.7489 GB, free: 14.55 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.191e-05/0.008161, allocations: 23.94 kB / 0.749 GB, free: 14.53 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.259e-06/0.008166, allocations: 5.312 kB / 0.749 GB, free: 14.53 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.015e-05/0.008186, allocations: 4 kB / 0.749 GB, free: 14.52 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.047e-06/0.008195, allocations: 4 kB / 0.749 GB, free: 14.52 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 6.926e-05/0.008265, allocations: 114.6 kB / 0.7491 GB, free: 14.4 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.383e-05/0.008278, allocations: 4 kB / 0.7491 GB, free: 14.39 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001307/0.008409, allocations: 91.44 kB / 0.7492 GB, free: 14.3 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.387e-06/0.008413, allocations: 3.984 kB / 0.7492 GB, free: 14.3 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.543e-06/0.008414, allocations: 0 / 0.7492 GB, free: 14.3 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.333e-06/0.008421, allocations: 3.938 kB / 0.7492 GB, free: 14.3 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002726/0.008694, allocations: 225.6 kB / 0.7494 GB, free: 14.05 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.008697, allocations: 0 / 0.7494 GB, free: 14.05 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001078/0.008804, allocations: 27.92 kB / 0.7494 GB, free: 14.03 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.008807, allocations: 0 / 0.7494 GB, free: 14.03 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.23e-05/0.00882, allocations: 8 kB / 0.7494 GB, free: 14.02 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/0.008822, allocations: 0 / 0.7494 GB, free: 14.02 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.008826, allocations: 3.938 kB / 0.7494 GB, free: 14.02 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001906/0.009017, allocations: 179.4 kB / 0.7496 GB, free: 13.82 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 7.003e-06/0.009024, allocations: 3.312 kB / 0.7496 GB, free: 13.82 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.148e-05/0.009035, allocations: 4 kB / 0.7496 GB, free: 13.82 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.635e-05/0.009101, allocations: 4 kB / 0.7496 GB, free: 13.82 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.02e-05/0.009122, allocations: 11.92 kB / 0.7496 GB, free: 13.8 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.486e-06/0.00913, allocations: 4 kB / 0.7496 GB, free: 13.8 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.563e-05/0.009146, allocations: 12.84 kB / 0.7496 GB, free: 13.79 MB / 0.7292 GB Notification: Performance of sort global known variables: time 7.1e-08/0.009146, allocations: 0 / 0.7496 GB, free: 13.79 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000308/0.009454, allocations: 59.75 kB / 0.7497 GB, free: 13.73 MB / 0.7292 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.0002757/0.00973, allocations: 161.4 kB / 0.7499 GB, free: 13.56 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001067/0.009836, allocations: 39.47 kB / 0.7499 GB, free: 13.52 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 7.444e-06/0.009844, allocations: 8.656 kB / 0.7499 GB, free: 13.52 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 3.551e-05/0.009879, allocations: 34.28 kB / 0.7499 GB, free: 13.48 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001631/0.01004, allocations: 12.83 kB / 0.7499 GB, free: 13.47 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006196/0.01066, allocations: 255.1 kB / 0.7502 GB, free: 13.21 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.692e-05/0.01072, allocations: 68.66 kB / 0.7503 GB, free: 13.12 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.5e-05/0.01079, allocations: 67.36 kB / 0.7503 GB, free: 13.05 MB / 0.7292 GB Notification: Performance of SimCode: time 6.41e-07/0.01079, allocations: 0 / 0.7503 GB, free: 13.05 MB / 0.7292 GB Notification: Performance of Templates: time 0.002954/0.01375, allocations: 1.448 MB / 0.7517 GB, free: 11.7 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2.pipe ; mkfifo Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2.pipe >> ../files/Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2.sim & ./Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2 > Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 5.313269866630435]