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_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.0007278/0.0007278, allocations: 85.05 kB / 9.985 MB, free: 0.7031 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001174/0.001902, 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.001081/0.001081, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001415/0.002496, 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.9564/0.9564, allocations: 177.2 MB / 189.7 MB, free: 5.262 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0821/1.038, allocations: 53.67 MB / 243.4 MB, free: 15.52 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.5971/0.5971, allocations: 120.1 MB / 364.2 MB, free: 2.551 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.05893/0.656, allocations: 38.15 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_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_inv_DerivativeCheck") translateModel(IBPSA.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_inv_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_inv_DerivativeCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.193e-06/1.193e-06, allocations: 0 / 403.8 MB, free: 10.9 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.206e-05/1.326e-05, allocations: 6.25 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_DerivativeCheck): time 0.001566/0.001579, allocations: 1.486 MB / 405.3 MB, free: 9.391 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009033/0.002483, allocations: 0.9653 MB / 406.2 MB, free: 8.422 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.869e-05/0.002512, allocations: 4 kB / 406.2 MB, free: 8.418 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 8.295e-06/0.00252, allocations: 3.938 kB / 406.2 MB, free: 8.414 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 2.556e-05/0.002545, allocations: 7.922 kB / 406.2 MB, free: 8.406 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004226/0.002968, allocations: 262.7 kB / 406.5 MB, free: 8.148 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 7.179e-05/0.00304, allocations: 47.8 kB / 406.5 MB, free: 8.102 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.14e-05/0.003071, allocations: 7.984 kB / 406.6 MB, free: 8.094 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.25e-05/0.003134, allocations: 23.97 kB / 406.6 MB, free: 8.07 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.275e-05/0.003176, allocations: 15.92 kB / 406.6 MB, free: 8.055 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.07e-05/0.003187, allocations: 4 kB / 406.6 MB, free: 8.051 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005227/0.00371, allocations: 0.507 MB / 407.1 MB, free: 7.543 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 1.68e-05/0.003727, allocations: 7.938 kB / 407.1 MB, free: 7.535 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 1.746e-05/0.003744, allocations: 8 kB / 407.1 MB, free: 7.527 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002976/0.004042, allocations: 291.3 kB / 407.4 MB, free: 7.242 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.143e-05/0.004053, allocations: 4 kB / 407.4 MB, free: 7.238 MB / 394.7 MB Notification: Performance of FrontEnd: time 4.31e-07/0.004054, allocations: 4 kB / 407.4 MB, free: 7.234 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.908e-06/0.004063, allocations: 0 / 407.4 MB, free: 7.234 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.0003456/0.004409, allocations: 355.5 kB / 407.8 MB, free: 6.863 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.584e-05/0.004435, allocations: 8.031 kB / 407.8 MB, free: 6.855 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.642e-05/0.004461, allocations: 4.922 kB / 407.8 MB, free: 6.852 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.749e-05/0.004539, allocations: 121.7 kB / 407.9 MB, free: 6.707 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.027e-06/0.004548, allocations: 384 / 407.9 MB, free: 6.707 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.931e-05/0.004567, allocations: 4.375 kB / 407.9 MB, free: 6.703 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.754e-05/0.004645, allocations: 67.33 kB / 408 MB, free: 6.625 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.021e-06/0.004651, allocations: 0 / 408 MB, free: 6.625 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.721e-06/0.004656, allocations: 0 / 408 MB, free: 6.625 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.004662, allocations: 4 kB / 408 MB, free: 6.621 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.912e-05/0.004681, allocations: 7.984 kB / 408 MB, free: 6.613 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.855e-05/0.004759, allocations: 69 kB / 408 MB, free: 6.531 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001225/0.004882, allocations: 38.55 kB / 408.1 MB, free: 6.484 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.718e-05/0.004899, allocations: 12.84 kB / 408.1 MB, free: 6.469 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.399e-05/0.004913, allocations: 4 kB / 408.1 MB, free: 6.465 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.741e-05/0.00493, allocations: 30.56 kB / 408.1 MB, free: 6.426 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.004931, allocations: 0 / 408.1 MB, free: 6.426 MB / 394.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004341/0.005365, allocations: 241.5 kB / 408.4 MB, free: 6.156 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.147e-05/0.005387, allocations: 51.41 kB / 408.4 MB, free: 6.094 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.673e-05/0.005444, allocations: 126.7 kB / 408.5 MB, free: 5.957 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 8.787e-06/0.005452, allocations: 33.64 kB / 408.6 MB, free: 5.918 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.536e-05/0.005478, allocations: 84.12 kB / 408.6 MB, free: 5.832 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.035e-05/0.005498, allocations: 27.77 kB / 408.7 MB, free: 5.805 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.161e-05/0.00553, allocations: 33.64 kB / 408.7 MB, free: 5.766 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.532e-05/0.005605, allocations: 318.8 kB / 409 MB, free: 5.445 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.654e-05/0.005622, allocations: 12 kB / 409 MB, free: 5.434 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.559e-05/0.005637, allocations: 19.98 kB / 409 MB, free: 5.414 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.34e-05/0.005681, allocations: 40.91 kB / 409.1 MB, free: 5.371 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.005682, allocations: 4 kB / 409.1 MB, free: 5.367 MB / 394.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 7.071e-05/0.005753, allocations: 85.69 kB / 409.2 MB, free: 5.277 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.047e-05/0.005763, allocations: 7.938 kB / 409.2 MB, free: 5.27 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.248e-06/0.005773, allocations: 4 kB / 409.2 MB, free: 5.266 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.085e-05/0.005783, allocations: 3.984 kB / 409.2 MB, free: 5.262 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.77e-05/0.005821, allocations: 15.94 kB / 409.2 MB, free: 5.246 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.846e-06/0.005824, allocations: 0 / 409.2 MB, free: 5.246 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.298e-05/0.005837, allocations: 0 / 409.2 MB, free: 5.246 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.288e-06/0.005841, allocations: 3.938 kB / 409.2 MB, free: 5.242 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 (8): * Single equations (assignments): 7 * 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 4.619e-05/0.005887, allocations: 121.8 kB / 409.3 MB, free: 5.113 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.604e-06/0.005895, allocations: 7.984 kB / 409.3 MB, free: 5.105 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.025e-05/0.005975, allocations: 62.2 kB / 409.4 MB, free: 5.039 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-06/0.005976, allocations: 3.938 kB / 409.4 MB, free: 5.035 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.074e-06/0.005978, allocations: 7.984 kB / 409.4 MB, free: 5.027 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.005981, allocations: 0 / 409.4 MB, free: 5.027 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001599/0.006141, allocations: 211.7 kB / 409.6 MB, free: 4.793 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.006142, allocations: 0 / 409.6 MB, free: 4.793 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.845e-05/0.00618, allocations: 15.94 kB / 409.6 MB, free: 4.777 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.604e-05/0.006196, allocations: 19.88 kB / 409.7 MB, free: 4.758 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.082e-06/0.006197, allocations: 4.031 kB / 409.7 MB, free: 4.754 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.58e-06/0.006203, allocations: 0 / 409.7 MB, free: 4.754 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.006205, allocations: 4 kB / 409.7 MB, free: 4.75 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.006205, allocations: 0 / 409.7 MB, free: 4.75 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.932e-05/0.006305, allocations: 160.3 kB / 409.8 MB, free: 4.574 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.837e-06/0.006314, allocations: 192 / 409.8 MB, free: 4.574 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.488e-05/0.006348, allocations: 8 kB / 409.8 MB, free: 4.566 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.318e-05/0.006362, allocations: 11.92 kB / 409.8 MB, free: 4.555 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.055e-06/0.006365, allocations: 0 / 409.8 MB, free: 4.555 MB / 394.7 MB Notification: Performance of sorting global known variables: time 1.522e-05/0.00638, allocations: 20.83 kB / 409.9 MB, free: 4.531 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00638, allocations: 4.031 kB / 409.9 MB, free: 4.527 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001905/0.006571, allocations: 79.67 kB / 409.9 MB, free: 4.449 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.0001815/0.006752, allocations: 168 kB / 410.1 MB, free: 4.277 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 8.962e-05/0.006842, allocations: 74.48 kB / 410.2 MB, free: 4.195 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.006845, allocations: 0 / 410.2 MB, free: 4.195 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.797e-05/0.006873, allocations: 24.83 kB / 410.2 MB, free: 4.168 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001439/0.007017, allocations: 45.62 kB / 410.2 MB, free: 4.117 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006575/0.007675, allocations: 193.5 kB / 410.4 MB, free: 3.898 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.988e-05/0.007704, allocations: 63.34 kB / 410.5 MB, free: 3.816 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 2.459e-05/0.007729, allocations: 4 kB / 410.5 MB, free: 3.812 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.618e-05/0.007775, allocations: 59.38 kB / 410.6 MB, free: 3.754 MB / 394.7 MB Notification: Performance of SimCode: time 4.9e-07/0.007776, allocations: 0 / 410.6 MB, free: 3.754 MB / 394.7 MB Notification: Performance of Templates: time 0.002987/0.01076, allocations: 2.058 MB / 412.6 MB, free: 1.691 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_inv_DerivativeCheck.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_inv_DerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_inv_DerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_inv_DerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_inv_DerivativeCheck.sim & ./IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_inv_DerivativeCheck -abortSlowSimulation -alarm=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_inv_DerivativeCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.030367339029908]