Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow_inv.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.001036/0.001036, allocations: 81.16 kB / 10 MB, free: 0.6797 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001319/0.002356, 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.001045/0.001045, allocations: 157.2 kB / 11.35 MB, free: 2.824 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001314/0.002359, 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 1.139/1.139, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09419/1.233, 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.6383/0.6383, allocations: 120.3 MB / 364.5 MB, free: 2.324 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06576/0.7041, allocations: 38.24 MB / 402.7 MB, free: 11.97 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.InvertingPowerLaw_m_flow_inv,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow_inv") translateModel(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow_inv,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow_inv") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 404.1 MB, free: 10.59 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.092e-05/2.237e-05, allocations: 2.312 kB / 404.1 MB, free: 10.59 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow_inv): time 0.002642/0.002664, allocations: 1.466 MB / 405.6 MB, free: 9.113 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.001319/0.003983, allocations: 0.9543 MB / 406.5 MB, free: 8.156 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.669e-05/0.00402, allocations: 0 / 406.5 MB, free: 8.156 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 1.358e-05/0.004034, allocations: 7.922 kB / 406.5 MB, free: 8.148 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 4.246e-05/0.004076, allocations: 3.938 kB / 406.5 MB, free: 8.145 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000547/0.004623, allocations: 266.8 kB / 406.8 MB, free: 7.883 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 9.128e-05/0.004714, allocations: 39.8 kB / 406.8 MB, free: 7.844 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.642e-05/0.004751, allocations: 0 / 406.8 MB, free: 7.844 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.087e-05/0.004822, allocations: 19.98 kB / 406.8 MB, free: 7.824 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.893e-05/0.004871, allocations: 15.92 kB / 406.9 MB, free: 7.809 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.192e-05/0.004882, allocations: 0 / 406.9 MB, free: 7.809 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007605/0.005643, allocations: 0.5187 MB / 407.4 MB, free: 7.289 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 1.825e-05/0.005661, allocations: 3.938 kB / 407.4 MB, free: 7.285 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 2.174e-05/0.005683, allocations: 8 kB / 407.4 MB, free: 7.277 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000497/0.00618, allocations: 291.2 kB / 407.7 MB, free: 6.992 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.893e-05/0.006199, allocations: 4 kB / 407.7 MB, free: 6.988 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.233e-06/0.0062, allocations: 0 / 407.7 MB, free: 6.988 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.23e-05/0.006212, allocations: 0 / 407.7 MB, free: 6.988 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.00047/0.006682, allocations: 339.6 kB / 408 MB, free: 6.633 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.609e-05/0.006719, allocations: 8.031 kB / 408 MB, free: 6.625 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.474e-05/0.006753, allocations: 4.938 kB / 408 MB, free: 6.621 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.609e-05/0.006849, allocations: 113.8 kB / 408.1 MB, free: 6.484 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.166e-05/0.006861, allocations: 384 / 408.1 MB, free: 6.484 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.578e-06/0.006871, allocations: 4.359 kB / 408.1 MB, free: 6.48 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.077e-05/0.006941, allocations: 33.64 kB / 408.2 MB, free: 6.441 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.244e-06/0.006949, allocations: 4 kB / 408.2 MB, free: 6.438 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.623e-06/0.006955, allocations: 0 / 408.2 MB, free: 6.438 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.006962, allocations: 3.938 kB / 408.2 MB, free: 6.434 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.274e-05/0.006975, allocations: 4 kB / 408.2 MB, free: 6.43 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.742e-05/0.007062, allocations: 64.97 kB / 408.2 MB, free: 6.352 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.566e-05/0.007108, allocations: 26.58 kB / 408.3 MB, free: 6.316 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.697e-05/0.007125, allocations: 12.92 kB / 408.3 MB, free: 6.301 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.967e-05/0.007145, allocations: 3.938 kB / 408.3 MB, free: 6.297 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.318e-05/0.007168, allocations: 34.56 kB / 408.3 MB, free: 6.254 MB / 394.7 MB Notification: Performance of pre-optimization done (n=2): time 8.41e-07/0.007169, allocations: 0 / 408.3 MB, free: 6.254 MB / 394.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001052/0.007274, allocations: 41.58 kB / 408.4 MB, free: 6.207 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.419e-05/0.007308, allocations: 59.39 kB / 408.4 MB, free: 6.137 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.757e-05/0.007396, allocations: 126.6 kB / 408.5 MB, free: 6 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 9.959e-06/0.007406, allocations: 25.7 kB / 408.6 MB, free: 5.969 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.192e-05/0.007438, allocations: 88.11 kB / 408.7 MB, free: 5.879 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.113e-05/0.007459, allocations: 7.953 kB / 408.7 MB, free: 5.871 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.223e-05/0.007491, allocations: 21.7 kB / 408.7 MB, free: 5.844 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.718e-05/0.007578, allocations: 318.8 kB / 409 MB, free: 5.523 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.749e-05/0.007596, allocations: 4 kB / 409 MB, free: 5.52 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.564e-05/0.007611, allocations: 8 kB / 409 MB, free: 5.512 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.834e-05/0.00766, allocations: 40.94 kB / 409 MB, free: 5.469 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.007662, allocations: 0 / 409 MB, free: 5.469 MB / 394.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 8.297e-05/0.007745, allocations: 53.69 kB / 409.1 MB, free: 5.41 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.248e-05/0.007757, allocations: 4 kB / 409.1 MB, free: 5.406 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.648e-05/0.007774, allocations: 0 / 409.1 MB, free: 5.406 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.007786, allocations: 11.94 kB / 409.1 MB, free: 5.395 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001564/0.007943, allocations: 8 kB / 409.1 MB, free: 5.387 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003326/0.008275, allocations: 0.5976 MB / 409.7 MB, free: 4.766 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.283e-05/0.008308, allocations: 11.89 kB / 409.7 MB, free: 4.754 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.155e-06/0.008316, allocations: 4.062 kB / 409.7 MB, free: 4.75 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 (3): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 6.494e-05/0.008381, allocations: 109.8 kB / 409.8 MB, free: 4.633 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.227e-05/0.008394, allocations: 4 kB / 409.8 MB, free: 4.629 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001033/0.008497, allocations: 45.31 kB / 409.9 MB, free: 4.582 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.008499, allocations: 0 / 409.9 MB, free: 4.582 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.934e-06/0.008501, allocations: 0 / 409.9 MB, free: 4.582 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.008504, allocations: 0 / 409.9 MB, free: 4.582 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.319e-05/0.008577, allocations: 69.89 kB / 410 MB, free: 4.496 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.008579, allocations: 0 / 410 MB, free: 4.496 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.333e-05/0.008673, allocations: 11.94 kB / 410 MB, free: 4.484 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.736e-05/0.00869, allocations: 23.89 kB / 410 MB, free: 4.461 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.008693, allocations: 0 / 410 MB, free: 4.461 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.23e-06/0.008698, allocations: 0 / 410 MB, free: 4.461 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002633/0.008961, allocations: 0.5821 MB / 410.6 MB, free: 3.855 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.008962, allocations: 0 / 410.6 MB, free: 3.855 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.163e-05/0.009024, allocations: 69 kB / 410.6 MB, free: 3.77 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.08e-05/0.009035, allocations: 0 / 410.6 MB, free: 3.77 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.767e-05/0.009052, allocations: 0 / 410.6 MB, free: 3.77 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.152e-05/0.009064, allocations: 0 / 410.6 MB, free: 3.77 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.737e-06/0.009068, allocations: 4.094 kB / 410.6 MB, free: 3.766 MB / 394.7 MB Notification: Performance of sorting global known variables: time 2.666e-05/0.009094, allocations: 24.83 kB / 410.7 MB, free: 3.738 MB / 394.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009094, allocations: 0 / 410.7 MB, free: 3.738 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002229/0.009317, allocations: 51.8 kB / 410.7 MB, free: 3.688 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002431/0.00956, allocations: 136.2 kB / 410.9 MB, free: 3.543 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001787/0.009739, allocations: 57.56 kB / 410.9 MB, free: 3.48 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.167e-06/0.009743, allocations: 0 / 410.9 MB, free: 3.48 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.346e-05/0.009787, allocations: 15.98 kB / 410.9 MB, free: 3.465 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003126/0.0101, allocations: 75.5 kB / 411 MB, free: 3.379 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005373/0.01064, allocations: 148.2 kB / 411.1 MB, free: 3.207 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.899e-05/0.01067, allocations: 55.36 kB / 411.2 MB, free: 3.133 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 3.062e-05/0.0107, allocations: 4 kB / 411.2 MB, free: 3.129 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.602e-05/0.01075, allocations: 59.36 kB / 411.3 MB, free: 3.07 MB / 394.7 MB Notification: Performance of SimCode: time 6.51e-07/0.01075, allocations: 0 / 411.3 MB, free: 3.07 MB / 394.7 MB Notification: Performance of Templates: time 0.003923/0.01468, allocations: 1.472 MB / 412.7 MB, free: 1.594 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow_inv.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow_inv.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow_inv.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow_inv.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow_inv.sim & ./IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow_inv -abortSlowSimulation -alarm=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow_inv.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.124196717515588]