Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_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.00104/0.00104, allocations: 85.05 kB / 9.985 MB, free: 0.7031 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001462/0.002502, allocations: 452 kB / 10.43 MB, free: 268 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.00105/0.00105, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001395/0.002446, allocations: 483.5 kB / 11.8 MB, free: 2.363 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.9542/0.9542, allocations: 177.2 MB / 189.7 MB, free: 5.258 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1167/1.071, allocations: 53.68 MB / 243.4 MB, free: 15.51 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.6313/0.6313, allocations: 120.1 MB / 364.2 MB, free: 2.551 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0635/0.6948, allocations: 38.16 MB / 402.4 MB, free: 12.27 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.PowerLaw_m_flow_inv_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_inv_DerivativeCheck2") translateModel(IBPSA.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_inv_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_inv_DerivativeCheck2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.604e-06/1.604e-06, allocations: 0 / 403.8 MB, free: 10.89 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.256e-05/2.417e-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.PowerLaw_m_flow_inv_DerivativeCheck2): time 0.002668/0.002692, allocations: 1.486 MB / 405.3 MB, free: 9.387 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.001388/0.004079, allocations: 0.977 MB / 406.2 MB, free: 8.406 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.991e-05/0.004119, allocations: 4 kB / 406.2 MB, free: 8.402 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 1.413e-05/0.004133, allocations: 7.938 kB / 406.3 MB, free: 8.395 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 3.797e-05/0.004171, allocations: 3.938 kB / 406.3 MB, free: 8.391 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007787/0.00495, allocations: 270.8 kB / 406.5 MB, free: 8.125 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001075/0.005058, allocations: 51.78 kB / 406.6 MB, free: 8.074 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.687e-05/0.005104, allocations: 4 kB / 406.6 MB, free: 8.07 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.278e-05/0.005187, allocations: 31.91 kB / 406.6 MB, free: 8.039 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.478e-05/0.005252, allocations: 23.95 kB / 406.6 MB, free: 8.016 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.459e-05/0.005267, allocations: 4 kB / 406.6 MB, free: 8.012 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006531/0.00592, allocations: 0.5109 MB / 407.1 MB, free: 7.5 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 1.881e-05/0.005938, allocations: 11.94 kB / 407.2 MB, free: 7.488 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 2.286e-05/0.005961, allocations: 11.94 kB / 407.2 MB, free: 7.477 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000325/0.006286, allocations: 295.3 kB / 407.5 MB, free: 7.188 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.147e-05/0.006298, allocations: 0 / 407.5 MB, free: 7.188 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.0063, allocations: 4 kB / 407.5 MB, free: 7.184 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.638e-06/0.006309, allocations: 0 / 407.5 MB, free: 7.184 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003813/0.006691, allocations: 367.5 kB / 407.8 MB, free: 6.801 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.103e-05/0.006722, allocations: 8.031 kB / 407.8 MB, free: 6.793 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.621e-05/0.006758, allocations: 4.938 kB / 407.8 MB, free: 6.789 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.666e-05/0.006834, allocations: 113.8 kB / 407.9 MB, free: 6.652 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.038e-05/0.006845, allocations: 8.312 kB / 408 MB, free: 6.645 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.5e-05/0.00687, allocations: 8.375 kB / 408 MB, free: 6.637 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.548e-05/0.006955, allocations: 93.03 kB / 408.1 MB, free: 6.527 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.364e-06/0.006963, allocations: 0 / 408.1 MB, free: 6.527 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.444e-06/0.00697, allocations: 8 kB / 408.1 MB, free: 6.52 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.006976, allocations: 4 kB / 408.1 MB, free: 6.516 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.493e-05/0.007001, allocations: 11.98 kB / 408.1 MB, free: 6.504 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.857e-05/0.007089, allocations: 72.94 kB / 408.1 MB, free: 6.418 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.319e-05/0.007163, allocations: 50.56 kB / 408.2 MB, free: 6.359 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.074e-05/0.007183, allocations: 24.78 kB / 408.2 MB, free: 6.332 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.615e-05/0.007199, allocations: 7.984 kB / 408.2 MB, free: 6.324 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.818e-05/0.007218, allocations: 30.56 kB / 408.3 MB, free: 6.285 MB / 394.7 MB Notification: Performance of pre-optimization done (n=7): time 7.82e-07/0.007218, allocations: 0 / 408.3 MB, free: 6.285 MB / 394.7 MB Notification: Performance of matching and sorting (n=11): time 0.0009863/0.008205, allocations: 475.5 kB / 408.7 MB, free: 5.766 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.423e-05/0.008229, allocations: 55.34 kB / 408.8 MB, free: 5.699 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.611e-05/0.008295, allocations: 126.7 kB / 408.9 MB, free: 5.562 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.159e-05/0.008307, allocations: 29.7 kB / 408.9 MB, free: 5.527 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.804e-05/0.008335, allocations: 92.41 kB / 409 MB, free: 5.43 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.263e-05/0.008367, allocations: 47.56 kB / 409.1 MB, free: 5.383 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.814e-05/0.008406, allocations: 33.69 kB / 409.1 MB, free: 5.344 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.848e-05/0.008474, allocations: 318.8 kB / 409.4 MB, free: 5.023 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.518e-05/0.008499, allocations: 23.92 kB / 409.4 MB, free: 5 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.336e-05/0.008523, allocations: 20 kB / 409.5 MB, free: 4.98 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.09e-05/0.008583, allocations: 68.75 kB / 409.5 MB, free: 4.91 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.243e-06/0.008585, allocations: 0 / 409.5 MB, free: 4.91 MB / 394.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 9.955e-05/0.008684, allocations: 101.6 kB / 409.6 MB, free: 4.805 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.302e-05/0.008697, allocations: 8 kB / 409.6 MB, free: 4.797 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.195e-05/0.008709, allocations: 3.984 kB / 409.6 MB, free: 4.793 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/0.008721, allocations: 7.938 kB / 409.6 MB, free: 4.785 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.07e-05/0.008792, allocations: 24 kB / 409.7 MB, free: 4.762 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.454e-06/0.008794, allocations: 0 / 409.7 MB, free: 4.762 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.694e-05/0.008811, allocations: 0 / 409.7 MB, free: 4.762 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.314e-06/0.008819, allocations: 7.984 kB / 409.7 MB, free: 4.754 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 (14): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.09e-05/0.00887, allocations: 109.8 kB / 409.8 MB, free: 4.637 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.1e-05/0.008881, allocations: 8 kB / 409.8 MB, free: 4.629 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001097/0.00899, allocations: 86.03 kB / 409.9 MB, free: 4.539 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.786e-06/0.008993, allocations: 3.938 kB / 409.9 MB, free: 4.535 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.024e-06/0.008995, allocations: 4 kB / 409.9 MB, free: 4.531 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.008998, allocations: 4 kB / 409.9 MB, free: 4.527 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002073/0.009205, allocations: 235.3 kB / 410.1 MB, free: 4.273 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.009207, allocations: 0 / 410.1 MB, free: 4.273 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.635e-05/0.009273, allocations: 23.98 kB / 410.1 MB, free: 4.25 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.662e-06/0.00928, allocations: 7.953 kB / 410.1 MB, free: 4.242 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.009283, allocations: 7.938 kB / 410.1 MB, free: 4.234 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.897e-06/0.009292, allocations: 7.984 kB / 410.2 MB, free: 4.227 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.009293, allocations: 0 / 410.2 MB, free: 4.227 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.009294, allocations: 4 kB / 410.2 MB, free: 4.223 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001258/0.00942, allocations: 187.4 kB / 410.3 MB, free: 4.023 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.188e-05/0.009432, allocations: 11.97 kB / 410.4 MB, free: 4.012 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.897e-05/0.009471, allocations: 3.938 kB / 410.4 MB, free: 4.008 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.408e-05/0.009485, allocations: 7.984 kB / 410.4 MB, free: 4 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.49e-06/0.009491, allocations: 4 kB / 410.4 MB, free: 3.996 MB / 394.7 MB Notification: Performance of sorting global known variables: time 1.552e-05/0.009506, allocations: 16.84 kB / 410.4 MB, free: 3.977 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009506, allocations: 4 kB / 410.4 MB, free: 3.973 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002388/0.009745, allocations: 107.5 kB / 410.5 MB, free: 3.867 MB / 394.7 MB 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.0002428/0.009988, allocations: 211.8 kB / 410.7 MB, free: 3.652 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001119/0.0101, allocations: 94.45 kB / 410.8 MB, free: 3.551 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.701e-06/0.01011, allocations: 4 kB / 410.8 MB, free: 3.547 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.413e-05/0.01014, allocations: 40.78 kB / 410.8 MB, free: 3.504 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001641/0.0103, allocations: 45.84 kB / 410.9 MB, free: 3.453 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008001/0.0111, allocations: 212.6 kB / 411.1 MB, free: 3.219 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.192e-05/0.01114, allocations: 63.34 kB / 411.2 MB, free: 3.137 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 4.025e-05/0.01118, allocations: 16.73 kB / 411.2 MB, free: 3.121 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.732e-05/0.01123, allocations: 67.36 kB / 411.2 MB, free: 3.055 MB / 394.7 MB Notification: Performance of SimCode: time 6.11e-07/0.01123, allocations: 0 / 411.2 MB, free: 3.055 MB / 394.7 MB Notification: Performance of Templates: time 0.003968/0.0152, allocations: 2.693 MB / 413.9 MB, free: 360 kB / 394.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_inv_DerivativeCheck2.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_inv_DerivativeCheck2.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_inv_DerivativeCheck2.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_inv_DerivativeCheck2.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_inv_DerivativeCheck2.sim & ./IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_inv_DerivativeCheck2 -abortSlowSimulation -alarm=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_inv_DerivativeCheck2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.3201084630563855]