Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_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.0007154/0.0007154, allocations: 85.05 kB / 9.985 MB, free: 0.7031 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009191/0.001634, 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.0006865/0.0006865, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009297/0.001616, 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 1.028/1.028, allocations: 177.2 MB / 189.7 MB, free: 5.258 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09048/1.119, allocations: 53.67 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.6177/0.6177, allocations: 120.1 MB / 364.2 MB, free: 2.551 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06505/0.6828, 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_dp_inv_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_inv_DerivativeCheck2") translateModel(IBPSA.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_inv_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_inv_DerivativeCheck2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 403.8 MB, free: 10.89 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.019e-05/2.169e-05, allocations: 6.312 kB / 403.8 MB, free: 10.88 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_inv_DerivativeCheck2): time 0.002679/0.002701, allocations: 1.494 MB / 405.3 MB, free: 9.375 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.001004/0.003705, allocations: 0.981 MB / 406.3 MB, free: 8.391 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.808e-05/0.003753, allocations: 4 kB / 406.3 MB, free: 8.387 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 1.339e-05/0.003767, allocations: 7.922 kB / 406.3 MB, free: 8.379 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 3.564e-05/0.003802, allocations: 7.875 kB / 406.3 MB, free: 8.371 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007329/0.004535, allocations: 274.7 kB / 406.5 MB, free: 8.102 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001223/0.004658, allocations: 55.78 kB / 406.6 MB, free: 8.047 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.214e-05/0.00471, allocations: 0 / 406.6 MB, free: 8.047 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.495e-05/0.004805, allocations: 35.91 kB / 406.6 MB, free: 8.012 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.993e-05/0.004885, allocations: 23.95 kB / 406.7 MB, free: 7.988 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.695e-05/0.004902, allocations: 0 / 406.7 MB, free: 7.988 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006763/0.005578, allocations: 0.5109 MB / 407.2 MB, free: 7.477 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 2.046e-05/0.005598, allocations: 7.938 kB / 407.2 MB, free: 7.469 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 2.692e-05/0.005625, allocations: 15.94 kB / 407.2 MB, free: 7.453 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003348/0.00596, allocations: 291.3 kB / 407.5 MB, free: 7.168 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.321e-05/0.005973, allocations: 4 kB / 407.5 MB, free: 7.164 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.005974, allocations: 0 / 407.5 MB, free: 7.164 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.152e-05/0.005986, allocations: 0 / 407.5 MB, free: 7.164 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.0004085/0.006394, allocations: 371.4 kB / 407.8 MB, free: 6.777 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.143e-05/0.006426, allocations: 8.031 kB / 407.8 MB, free: 6.77 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.226e-05/0.006458, allocations: 4.938 kB / 407.9 MB, free: 6.766 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.472e-05/0.006543, allocations: 109.8 kB / 408 MB, free: 6.633 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.28e-05/0.006556, allocations: 8.375 kB / 408 MB, free: 6.625 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.606e-05/0.006582, allocations: 4.375 kB / 408 MB, free: 6.621 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.602e-05/0.006678, allocations: 101 kB / 408.1 MB, free: 6.504 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.756e-06/0.006686, allocations: 0 / 408.1 MB, free: 6.504 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.312e-06/0.006693, allocations: 4 kB / 408.1 MB, free: 6.5 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.006699, allocations: 4 kB / 408.1 MB, free: 6.496 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.739e-05/0.006727, allocations: 11.92 kB / 408.1 MB, free: 6.484 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.916e-05/0.006826, allocations: 80.88 kB / 408.2 MB, free: 6.391 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.272e-05/0.006908, allocations: 46.62 kB / 408.2 MB, free: 6.336 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.263e-05/0.006931, allocations: 16.86 kB / 408.2 MB, free: 6.316 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.794e-05/0.006949, allocations: 7.984 kB / 408.2 MB, free: 6.309 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.128e-05/0.00697, allocations: 30.56 kB / 408.3 MB, free: 6.27 MB / 394.7 MB Notification: Performance of pre-optimization done (n=7): time 2.515e-06/0.006973, allocations: 3.984 kB / 408.3 MB, free: 6.266 MB / 394.7 MB Notification: Performance of matching and sorting (n=11): time 0.0008704/0.007843, allocations: 487.3 kB / 408.7 MB, free: 5.734 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.21e-05/0.007865, allocations: 51.41 kB / 408.8 MB, free: 5.672 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.732e-05/0.007933, allocations: 122.7 kB / 408.9 MB, free: 5.539 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.246e-05/0.007945, allocations: 29.7 kB / 408.9 MB, free: 5.504 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.775e-05/0.007973, allocations: 92.39 kB / 409 MB, free: 5.406 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.161e-05/0.008004, allocations: 47.52 kB / 409.1 MB, free: 5.359 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.974e-05/0.008044, allocations: 37.69 kB / 409.1 MB, free: 5.316 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.494e-05/0.008119, allocations: 318.8 kB / 409.4 MB, free: 4.996 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.572e-05/0.008145, allocations: 20 kB / 409.5 MB, free: 4.977 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.342e-05/0.008168, allocations: 23.98 kB / 409.5 MB, free: 4.953 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.478e-05/0.008243, allocations: 68.75 kB / 409.5 MB, free: 4.883 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.008244, allocations: 3.938 kB / 409.5 MB, free: 4.879 MB / 394.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 9.41e-05/0.008338, allocations: 97.67 kB / 409.6 MB, free: 4.777 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.286e-05/0.008351, allocations: 4 kB / 409.6 MB, free: 4.773 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.356e-05/0.008365, allocations: 4 kB / 409.6 MB, free: 4.77 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.008378, allocations: 7.938 kB / 409.7 MB, free: 4.762 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.064e-05/0.008448, allocations: 23.98 kB / 409.7 MB, free: 4.738 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.078e-06/0.008452, allocations: 4 kB / 409.7 MB, free: 4.734 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.811e-05/0.008471, allocations: 4 kB / 409.7 MB, free: 4.73 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.171e-06/0.008477, allocations: 0 / 409.7 MB, free: 4.73 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.518e-05/0.008532, allocations: 117.8 kB / 409.8 MB, free: 4.605 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.118e-05/0.008543, allocations: 7.984 kB / 409.8 MB, free: 4.598 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001159/0.008659, allocations: 86.09 kB / 409.9 MB, free: 4.508 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.008661, allocations: 3.938 kB / 409.9 MB, free: 4.504 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.173e-06/0.008662, allocations: 0 / 409.9 MB, free: 4.504 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.008665, allocations: 7.938 kB / 409.9 MB, free: 4.496 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002135/0.008879, allocations: 234.8 kB / 410.1 MB, free: 4.242 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.00888, allocations: 0 / 410.1 MB, free: 4.242 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.109e-05/0.008951, allocations: 23.98 kB / 410.2 MB, free: 4.219 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.985e-06/0.008959, allocations: 7.953 kB / 410.2 MB, free: 4.211 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.008964, allocations: 7.938 kB / 410.2 MB, free: 4.203 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.414e-06/0.008971, allocations: 0 / 410.2 MB, free: 4.203 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.008973, allocations: 0 / 410.2 MB, free: 4.203 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.008974, allocations: 0 / 410.2 MB, free: 4.203 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001387/0.009113, allocations: 191.3 kB / 410.4 MB, free: 4 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.279e-05/0.009125, allocations: 15.95 kB / 410.4 MB, free: 3.984 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.675e-05/0.009172, allocations: 4 kB / 410.4 MB, free: 3.98 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.532e-05/0.009188, allocations: 7.984 kB / 410.4 MB, free: 3.973 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.039e-06/0.009193, allocations: 0 / 410.4 MB, free: 3.973 MB / 394.7 MB Notification: Performance of sorting global known variables: time 1.683e-05/0.009209, allocations: 13.73 kB / 410.4 MB, free: 3.957 MB / 394.7 MB Notification: Performance of sort global known variables: time 9e-08/0.009209, allocations: 0 / 410.4 MB, free: 3.957 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002326/0.009442, allocations: 111.5 kB / 410.5 MB, free: 3.848 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (dp_comp,der_dp_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.0002704/0.009713, allocations: 207.9 kB / 410.7 MB, free: 3.637 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001221/0.009835, allocations: 94.75 kB / 410.8 MB, free: 3.535 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 8.987e-06/0.009844, allocations: 11.97 kB / 410.8 MB, free: 3.523 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.174e-05/0.009875, allocations: 32.8 kB / 410.8 MB, free: 3.488 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001728/0.01005, allocations: 53.83 kB / 410.9 MB, free: 3.43 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009763/0.01102, allocations: 208.7 kB / 411.1 MB, free: 3.199 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.465e-05/0.01106, allocations: 67.28 kB / 411.2 MB, free: 3.113 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 4.327e-05/0.0111, allocations: 20.72 kB / 411.2 MB, free: 3.094 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.064e-05/0.01116, allocations: 67.38 kB / 411.3 MB, free: 3.027 MB / 394.7 MB Notification: Performance of SimCode: time 6.72e-07/0.01116, allocations: 0 / 411.3 MB, free: 3.027 MB / 394.7 MB Notification: Performance of Templates: time 0.003966/0.01513, allocations: 2.68 MB / 413.9 MB, free: 348 kB / 394.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_inv_DerivativeCheck2.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_inv_DerivativeCheck2.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_inv_DerivativeCheck2.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_inv_DerivativeCheck2.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_inv_DerivativeCheck2.sim & ./IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_inv_DerivativeCheck2 -abortSlowSimulation -alarm=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_inv_DerivativeCheck2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.1105761053040624]