Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow.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.001466/0.001466, allocations: 88.72 kB / 20.21 MB, free: 4.203 MB / 18.57 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.001559/0.001559, allocations: 157.3 kB / 23.52 MB, free: 0.8945 MB / 18.57 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.503/1.503, allocations: 177.1 MB / 203.9 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9451/0.9451, allocations: 115 MB / 375.3 MB, free: 7.578 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow") translateModel(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.923e-06/1.923e-06, allocations: 0 / 480.8 MB, free: 11.87 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.972e-05/3.164e-05, allocations: 6.062 kB / 480.8 MB, free: 11.87 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow): time 0.002598/0.00263, allocations: 1.339 MB / 482.1 MB, free: 10.96 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001351/0.003981, allocations: 0.8461 MB / 483 MB, free: 10.41 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.064e-05/0.004032, allocations: 0.9062 kB / 483 MB, free: 10.41 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 2.857e-05/0.00406, allocations: 4.719 kB / 483 MB, free: 10.4 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 9.267e-05/0.004153, allocations: 9.031 kB / 483 MB, free: 10.4 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006074/0.00476, allocations: 220.2 kB / 483.2 MB, free: 10.29 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 8.647e-05/0.004847, allocations: 34.16 kB / 483.2 MB, free: 10.28 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.574e-05/0.004892, allocations: 0 / 483.2 MB, free: 10.28 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.257e-05/0.004965, allocations: 24.94 kB / 483.3 MB, free: 10.27 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.192e-05/0.005017, allocations: 10.19 kB / 483.3 MB, free: 10.27 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.567e-05/0.005032, allocations: 3.5 kB / 483.3 MB, free: 10.27 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005977/0.00563, allocations: 381.6 kB / 483.7 MB, free: 10.2 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.131e-05/0.005652, allocations: 6.031 kB / 483.7 MB, free: 10.2 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.363e-05/0.005685, allocations: 13.62 kB / 483.7 MB, free: 10.19 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005081/0.006193, allocations: 290.3 kB / 484 MB, free: 10.11 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.006198, allocations: 0.9375 kB / 484 MB, free: 10.11 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.81e-07/0.006199, allocations: 0.6875 kB / 484 MB, free: 10.11 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.471e-06/0.006205, allocations: 0 / 484 MB, free: 10.11 MB / 410.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.0004822/0.006687, allocations: 342.4 kB / 484.3 MB, free: 9.781 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.363e-05/0.00673, allocations: 9.5 kB / 484.3 MB, free: 9.781 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003202/0.007051, allocations: 26.42 kB / 484.3 MB, free: 9.777 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001052/0.007156, allocations: 122 kB / 484.4 MB, free: 9.637 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.748e-05/0.007173, allocations: 1.344 kB / 484.5 MB, free: 9.637 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.167e-05/0.007185, allocations: 2.25 kB / 484.5 MB, free: 9.637 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001396/0.007325, allocations: 49.39 kB / 484.5 MB, free: 9.598 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.477e-06/0.007334, allocations: 4.688 kB / 484.5 MB, free: 9.594 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.201e-05/0.007346, allocations: 4 kB / 484.5 MB, free: 9.59 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.471e-06/0.007352, allocations: 2.969 kB / 484.5 MB, free: 9.59 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001011/0.007453, allocations: 16.92 kB / 484.5 MB, free: 9.59 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001382/0.007591, allocations: 112.9 kB / 484.6 MB, free: 9.461 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001369/0.007728, allocations: 39.95 kB / 484.7 MB, free: 9.434 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.679e-05/0.007785, allocations: 14.28 kB / 484.7 MB, free: 9.426 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.873e-05/0.007803, allocations: 4.906 kB / 484.7 MB, free: 9.422 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.372e-05/0.007837, allocations: 37.75 kB / 484.7 MB, free: 9.379 MB / 410.7 MB Notification: Performance of pre-optimization done (n=2): time 9.12e-07/0.007838, allocations: 0 / 484.7 MB, free: 9.379 MB / 410.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002929/0.008131, allocations: 71.39 kB / 484.8 MB, free: 9.336 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.534e-05/0.008156, allocations: 53.09 kB / 484.9 MB, free: 9.273 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.332e-05/0.008249, allocations: 131.1 kB / 485 MB, free: 9.156 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.198e-05/0.008261, allocations: 27.77 kB / 485 MB, free: 9.125 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.295e-05/0.008294, allocations: 85.16 kB / 485.1 MB, free: 9.039 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.622e-05/0.008311, allocations: 10.23 kB / 485.1 MB, free: 9.031 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.112e-05/0.008352, allocations: 24.84 kB / 485.1 MB, free: 9.012 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002812/0.008633, allocations: 316.4 kB / 485.4 MB, free: 24.7 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.299e-05/0.008716, allocations: 27.08 kB / 485.5 MB, free: 24.69 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.011e-05/0.008786, allocations: 21.62 kB / 485.5 MB, free: 24.68 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001306/0.008917, allocations: 45.91 kB / 485.5 MB, free: 24.66 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.008918, allocations: 0 / 485.5 MB, free: 24.66 MB / 426.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001854/0.009104, allocations: 88.09 kB / 485.6 MB, free: 24.61 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.00912, allocations: 6.5 kB / 485.6 MB, free: 24.61 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.571e-05/0.009135, allocations: 1.344 kB / 485.6 MB, free: 24.61 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.065e-05/0.009156, allocations: 5.094 kB / 485.6 MB, free: 24.61 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009062/0.01006, allocations: 85.34 kB / 485.7 MB, free: 24.6 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002083/0.01215, allocations: 1.367 MB / 487.1 MB, free: 23.32 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.596e-05/0.0122, allocations: 16.36 kB / 487.1 MB, free: 23.31 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.608e-06/0.01221, allocations: 1.5 kB / 487.1 MB, free: 23.31 MB / 426.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 9.81e-05/0.01231, allocations: 119.1 kB / 487.2 MB, free: 23.18 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.497e-05/0.01232, allocations: 11.78 kB / 487.2 MB, free: 23.18 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.496e-05/0.01234, allocations: 4.812 kB / 487.2 MB, free: 23.17 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.01234, allocations: 3.047 kB / 487.2 MB, free: 23.17 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.673e-06/0.01234, allocations: 4.125 kB / 487.2 MB, free: 23.17 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.01234, allocations: 0 / 487.2 MB, free: 23.17 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.317e-05/0.01241, allocations: 114.5 kB / 487.3 MB, free: 23.04 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.01241, allocations: 0 / 487.3 MB, free: 23.04 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009709/0.01338, allocations: 100.4 kB / 487.4 MB, free: 23.04 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.706e-06/0.01338, allocations: 1.188 kB / 487.4 MB, free: 23.04 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.114e-05/0.01339, allocations: 6.812 kB / 487.5 MB, free: 23.03 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001933/0.01533, allocations: 1.372 MB / 488.8 MB, free: 21.75 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.01533, allocations: 0 / 488.8 MB, free: 21.75 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001563/0.01548, allocations: 90.19 kB / 488.9 MB, free: 21.67 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.838e-06/0.01549, allocations: 2.188 kB / 488.9 MB, free: 21.67 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.287e-06/0.0155, allocations: 0 / 488.9 MB, free: 21.67 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.656e-05/0.01555, allocations: 9.578 kB / 488.9 MB, free: 21.66 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.659e-05/0.01558, allocations: 8.875 kB / 488.9 MB, free: 21.66 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.27e-06/0.01558, allocations: 5.188 kB / 488.9 MB, free: 21.65 MB / 426.7 MB Notification: Performance of sorting global known variables: time 8.715e-05/0.01567, allocations: 92.45 kB / 489 MB, free: 21.57 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01567, allocations: 1.938 kB / 489 MB, free: 21.57 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002669/0.01594, allocations: 27.62 kB / 489.1 MB, free: 21.57 MB / 426.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.0002128/0.01615, allocations: 113.9 kB / 489.2 MB, free: 21.48 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001082/0.01723, allocations: 149.8 kB / 489.3 MB, free: 21.44 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.01723, allocations: 1.406 kB / 489.3 MB, free: 21.44 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001035/0.01827, allocations: 121.6 kB / 489.4 MB, free: 21.43 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003064/0.01857, allocations: 7.594 kB / 489.4 MB, free: 21.43 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004114/0.01899, allocations: 148.2 kB / 489.6 MB, free: 21.3 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.243e-05/0.01904, allocations: 67.38 kB / 489.7 MB, free: 21.23 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 2.291e-05/0.01906, allocations: 7.125 kB / 489.7 MB, free: 21.23 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.281e-05/0.01908, allocations: 9.656 kB / 489.7 MB, free: 21.22 MB / 426.7 MB Notification: Performance of SimCode: time 5.71e-07/0.01908, allocations: 0 / 489.7 MB, free: 21.22 MB / 426.7 MB Notification: Performance of Templates: time 0.004226/0.02331, allocations: 1.42 MB / 491.1 MB, free: 21.16 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow.sim & ./IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.403102657059208]