Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck.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.0007579/0.0007579, allocations: 81.16 kB / 10 MB, free: 0.6797 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001132/0.001889, allocations: 451.9 kB / 10.45 MB, free: 244 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.0007579/0.0007579, allocations: 157.2 kB / 11.35 MB, free: 2.824 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001022/0.00178, allocations: 483.5 kB / 11.82 MB, free: 2.348 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.9916/0.9916, allocations: 177.2 MB / 189.8 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08826/1.08, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6317/0.6317, allocations: 120.1 MB / 364.3 MB, free: 2.531 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06259/0.6943, allocations: 38.16 MB / 402.4 MB, free: 12.25 MB / 394.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck") translateModel(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.442e-06/1.442e-06, allocations: 3.938 kB / 403.8 MB, free: 10.89 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.763e-05/1.908e-05, allocations: 2.312 kB / 403.8 MB, free: 10.89 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck): time 0.002779/0.002798, allocations: 1.412 MB / 405.2 MB, free: 9.461 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009844/0.003782, allocations: 0.5999 MB / 405.8 MB, free: 8.859 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.286e-05/0.003805, allocations: 0 / 405.8 MB, free: 8.859 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 1.012e-05/0.003815, allocations: 0 / 405.8 MB, free: 8.859 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 3.186e-05/0.003847, allocations: 3.938 kB / 405.8 MB, free: 8.855 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004965/0.004343, allocations: 151.3 kB / 405.9 MB, free: 8.707 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 7.12e-05/0.004415, allocations: 19.92 kB / 406 MB, free: 8.688 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.214e-05/0.004457, allocations: 7.875 kB / 406 MB, free: 8.68 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.337e-05/0.00453, allocations: 15.98 kB / 406 MB, free: 8.664 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.676e-05/0.004587, allocations: 4 kB / 406 MB, free: 8.66 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.353e-05/0.0046, allocations: 0 / 406 MB, free: 8.66 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005592/0.00516, allocations: 331.3 kB / 406.3 MB, free: 8.336 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 2.246e-05/0.005182, allocations: 7.938 kB / 406.3 MB, free: 8.328 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 1.996e-05/0.005202, allocations: 12 kB / 406.3 MB, free: 8.316 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002743/0.005476, allocations: 131.6 kB / 406.5 MB, free: 8.188 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.757e-05/0.005494, allocations: 0 / 406.5 MB, free: 8.188 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.005495, allocations: 0 / 406.5 MB, free: 8.188 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.045e-05/0.005506, allocations: 0 / 406.5 MB, free: 8.188 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004449/0.005951, allocations: 280.2 kB / 406.7 MB, free: 7.891 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.705e-05/0.005988, allocations: 8.031 kB / 406.7 MB, free: 7.883 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.643e-05/0.006024, allocations: 8.922 kB / 406.7 MB, free: 7.875 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.485e-05/0.006119, allocations: 113.7 kB / 406.9 MB, free: 7.738 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.284e-05/0.006132, allocations: 4.375 kB / 406.9 MB, free: 7.734 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.233e-05/0.006154, allocations: 384 / 406.9 MB, free: 7.734 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001112/0.006265, allocations: 71.95 kB / 406.9 MB, free: 7.652 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.006274, allocations: 3.938 kB / 406.9 MB, free: 7.648 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.714e-06/0.006282, allocations: 0 / 406.9 MB, free: 7.648 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.006288, allocations: 0 / 406.9 MB, free: 7.648 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.555e-05/0.006314, allocations: 4 kB / 406.9 MB, free: 7.645 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001039/0.006418, allocations: 61.03 kB / 407 MB, free: 7.57 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001785/0.006596, allocations: 42.55 kB / 407 MB, free: 7.52 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.75e-05/0.006624, allocations: 16.84 kB / 407.1 MB, free: 7.5 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.226e-05/0.006646, allocations: 4 kB / 407.1 MB, free: 7.496 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.529e-05/0.006671, allocations: 34.56 kB / 407.1 MB, free: 7.453 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 1.353e-06/0.006673, allocations: 0 / 407.1 MB, free: 7.453 MB / 394.7 MB Notification: Performance of matching and sorting (n=6): time 0.000653/0.007326, allocations: 241.1 kB / 407.3 MB, free: 7.184 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.483e-05/0.00736, allocations: 55.41 kB / 407.4 MB, free: 7.117 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.049e-05/0.007421, allocations: 98.7 kB / 407.5 MB, free: 7.008 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.271e-05/0.007434, allocations: 29.7 kB / 407.5 MB, free: 6.973 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.755e-05/0.007461, allocations: 80.14 kB / 407.6 MB, free: 6.891 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.523e-05/0.007496, allocations: 27.78 kB / 407.6 MB, free: 6.863 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.475e-05/0.007531, allocations: 17.7 kB / 407.6 MB, free: 6.84 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.114e-05/0.007622, allocations: 314.8 kB / 407.9 MB, free: 6.523 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.509e-05/0.007637, allocations: 7.984 kB / 407.9 MB, free: 6.516 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.209e-05/0.007649, allocations: 8 kB / 408 MB, free: 6.508 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.73e-05/0.007697, allocations: 32.97 kB / 408 MB, free: 6.473 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.007698, allocations: 0 / 408 MB, free: 6.473 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 7.616e-05/0.007774, allocations: 45.69 kB / 408 MB, free: 6.422 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.007789, allocations: 7.938 kB / 408 MB, free: 6.414 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.269e-06/0.007794, allocations: 0 / 408 MB, free: 6.414 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.109e-05/0.007805, allocations: 3.938 kB / 408 MB, free: 6.41 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.167e-05/0.007867, allocations: 15.94 kB / 408.1 MB, free: 6.395 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.096e-06/0.00787, allocations: 4 kB / 408.1 MB, free: 6.391 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.02e-05/0.00789, allocations: 3.984 kB / 408.1 MB, free: 6.387 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.532e-06/0.007897, allocations: 4 kB / 408.1 MB, free: 6.383 MB / 394.7 MB 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 (7): * Single equations (assignments): 7 * 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.093e-05/0.007957, allocations: 109.8 kB / 408.2 MB, free: 6.266 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.177e-05/0.007969, allocations: 4 kB / 408.2 MB, free: 6.262 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001213/0.008091, allocations: 57.92 kB / 408.2 MB, free: 6.203 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/0.008094, allocations: 3.938 kB / 408.2 MB, free: 6.199 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.896e-06/0.008097, allocations: 4 kB / 408.2 MB, free: 6.195 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.0081, allocations: 0 / 408.2 MB, free: 6.195 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002283/0.008329, allocations: 211.6 kB / 408.5 MB, free: 5.961 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.008331, allocations: 4.031 kB / 408.5 MB, free: 5.957 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.157e-05/0.008403, allocations: 19.92 kB / 408.5 MB, free: 5.938 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.037e-05/0.008423, allocations: 0 / 408.5 MB, free: 5.938 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.008428, allocations: 7.938 kB / 408.5 MB, free: 5.93 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.911e-06/0.008433, allocations: 0 / 408.5 MB, free: 5.93 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.008435, allocations: 0 / 408.5 MB, free: 5.93 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.008437, allocations: 0 / 408.5 MB, free: 5.93 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000136/0.008573, allocations: 160.4 kB / 408.6 MB, free: 5.754 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.163e-05/0.008584, allocations: 3.938 kB / 408.6 MB, free: 5.75 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.48e-05/0.008639, allocations: 4 kB / 408.7 MB, free: 5.746 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.681e-05/0.008656, allocations: 12.02 kB / 408.7 MB, free: 5.734 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.783e-06/0.008663, allocations: 4 kB / 408.7 MB, free: 5.73 MB / 394.7 MB Notification: Performance of sorting global known variables: time 1.293e-05/0.008676, allocations: 9.312 kB / 408.7 MB, free: 5.719 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.008676, allocations: 0 / 408.7 MB, free: 5.719 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002322/0.008908, allocations: 43.8 kB / 408.7 MB, free: 5.676 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (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 (6): * Single equations (assignments): 6 * 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.0002172/0.009125, allocations: 132.2 kB / 408.8 MB, free: 5.535 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 7.308e-05/0.009198, allocations: 24.8 kB / 408.9 MB, free: 5.508 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.793e-06/0.009205, allocations: 7.984 kB / 408.9 MB, free: 5.5 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.674e-05/0.009232, allocations: 16.86 kB / 408.9 MB, free: 5.48 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001494/0.009381, allocations: 16.03 kB / 408.9 MB, free: 5.465 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001092/0.01047, allocations: 183.3 kB / 409.1 MB, free: 5.25 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.965e-05/0.01052, allocations: 63.34 kB / 409.2 MB, free: 5.168 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.079e-05/0.01058, allocations: 59.36 kB / 409.2 MB, free: 5.109 MB / 394.7 MB Notification: Performance of SimCode: time 8.32e-07/0.01058, allocations: 0 / 409.2 MB, free: 5.109 MB / 394.7 MB Notification: Performance of Templates: time 0.002608/0.01319, allocations: 1.027 MB / 410.2 MB, free: 4.082 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck.sim & ./IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 3.8094701506197453]