Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp.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.0009549/0.0009549, allocations: 98.84 kB / 20.44 MB, free: 4.578 MB / 13.93 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.0008016/0.0008016, allocations: 225.5 kB / 23.75 MB, free: 2.121 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.9703/0.9703, allocations: 230.6 MB / 257.5 MB, free: 9.59 MB / 202.7 MB " [Timeout remaining time 179] 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.6274/0.6274, allocations: 151.4 MB / 465.3 MB, free: 12.99 MB / 362.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_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp") translateModel(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp") [Timeout 660] "Notification: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0009411/0.0009411, allocations: 66.22 kB / 0.6438 GB, free: 18.24 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1855/0.1865, allocations: 89.55 MB / 0.7312 GB, free: 8.672 MB / 0.5417 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp): time 0.00182/0.1883, allocations: 1.348 MB / 0.7326 GB, free: 7.316 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.0008791/0.1892, allocations: 0.8404 MB / 0.7334 GB, free: 6.473 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.338e-05/0.1892, allocations: 0 / 0.7334 GB, free: 6.473 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 2.5e-05/0.1892, allocations: 7.922 kB / 0.7334 GB, free: 6.465 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 7.245e-05/0.1893, allocations: 7.938 kB / 0.7334 GB, free: 6.457 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004265/0.1897, allocations: 217.5 kB / 0.7336 GB, free: 6.246 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 7.315e-05/0.1898, allocations: 35.84 kB / 0.7336 GB, free: 6.211 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 4.351e-05/0.1898, allocations: 4 kB / 0.7336 GB, free: 6.207 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 2.917e-05/0.1899, allocations: 11.94 kB / 0.7337 GB, free: 6.195 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 4.122e-05/0.1899, allocations: 15.92 kB / 0.7337 GB, free: 6.18 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 1.071e-05/0.1899, allocations: 7.938 kB / 0.7337 GB, free: 6.172 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003679/0.1903, allocations: 371.5 kB / 0.734 GB, free: 5.809 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 1.716e-05/0.1903, allocations: 11.98 kB / 0.734 GB, free: 5.797 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 2.02e-05/0.1903, allocations: 11.94 kB / 0.7341 GB, free: 5.785 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.0002788/0.1906, allocations: 267.2 kB / 0.7343 GB, free: 5.523 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.1906, allocations: 0 / 0.7343 GB, free: 5.523 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.114e-06/0.1906, allocations: 0 / 0.7343 GB, free: 5.523 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 6.271e-06/0.1906, allocations: 0 / 0.7343 GB, free: 5.523 MB / 0.5417 GB 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.0006384/0.1913, allocations: 337.4 kB / 0.7346 GB, free: 5.164 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/0.1913, allocations: 8.031 kB / 0.7346 GB, free: 5.156 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001942/0.1915, allocations: 24.86 kB / 0.7347 GB, free: 5.133 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00011/0.1916, allocations: 110.5 kB / 0.7348 GB, free: 5 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.382e-05/0.1916, allocations: 384 / 0.7348 GB, free: 5 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.999e-06/0.1916, allocations: 8.375 kB / 0.7348 GB, free: 4.992 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001055/0.1917, allocations: 53.55 kB / 0.7348 GB, free: 4.934 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/0.1917, allocations: 0 / 0.7348 GB, free: 4.934 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.754e-06/0.1917, allocations: 3.938 kB / 0.7348 GB, free: 4.93 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.1917, allocations: 0 / 0.7348 GB, free: 4.93 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.336e-05/0.1918, allocations: 23.97 kB / 0.7349 GB, free: 4.906 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001169/0.1919, allocations: 113.3 kB / 0.735 GB, free: 4.766 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 8.843e-05/0.192, allocations: 38.55 kB / 0.735 GB, free: 4.719 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.512e-05/0.1921, allocations: 20.92 kB / 0.735 GB, free: 4.695 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 1.324e-05/0.1921, allocations: 0 / 0.735 GB, free: 4.695 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.953e-05/0.1921, allocations: 38.44 kB / 0.7351 GB, free: 4.648 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=2): time 6.91e-07/0.1921, allocations: 0 / 0.7351 GB, free: 4.648 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2): time 0.0001914/0.1923, allocations: 69.66 kB / 0.7351 GB, free: 4.574 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.541e-05/0.1923, allocations: 51.41 kB / 0.7352 GB, free: 4.512 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.86e-05/0.1924, allocations: 130 kB / 0.7353 GB, free: 4.371 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.059e-05/0.1924, allocations: 25.7 kB / 0.7353 GB, free: 4.34 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 3.391e-05/0.1924, allocations: 92.27 kB / 0.7354 GB, free: 4.246 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 1.562e-05/0.1924, allocations: 7.891 kB / 0.7354 GB, free: 4.238 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.355e-05/0.1925, allocations: 25.7 kB / 0.7354 GB, free: 4.207 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 7.596e-05/0.1926, allocations: 314.8 kB / 0.7357 GB, free: 3.891 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.233e-05/0.1926, allocations: 19.98 kB / 0.7358 GB, free: 3.871 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.759e-05/0.1926, allocations: 23.98 kB / 0.7358 GB, free: 3.848 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.41e-05/0.1927, allocations: 44.78 kB / 0.7358 GB, free: 3.801 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.1927, allocations: 0 / 0.7358 GB, free: 3.801 MB / 0.5417 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001199/0.1928, allocations: 89.56 kB / 0.7359 GB, free: 3.707 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.215e-05/0.1929, allocations: 11.94 kB / 0.7359 GB, free: 3.695 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.692e-05/0.1929, allocations: 7.984 kB / 0.7359 GB, free: 3.688 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.1929, allocations: 0 / 0.7359 GB, free: 3.688 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004443/0.1933, allocations: 83.88 kB / 0.736 GB, free: 3.605 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001142/0.1945, allocations: 1.376 MB / 0.7373 GB, free: 2.125 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.636e-05/0.1945, allocations: 15.91 kB / 0.7374 GB, free: 2.109 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.924e-06/0.1945, allocations: 160 / 0.7374 GB, free: 2.109 MB / 0.5417 GB 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.097e-05/0.1946, allocations: 121.7 kB / 0.7375 GB, free: 1.98 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.342e-06/0.1946, allocations: 4 kB / 0.7375 GB, free: 1.977 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.422e-06/0.1946, allocations: 3.625 kB / 0.7375 GB, free: 1.977 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.32e-07/0.1946, allocations: 0 / 0.7375 GB, free: 1.977 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.61e-07/0.1946, allocations: 0 / 0.7375 GB, free: 1.977 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.1946, allocations: 4 kB / 0.7375 GB, free: 1.973 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.54e-05/0.1946, allocations: 113.2 kB / 0.7376 GB, free: 1.832 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.1946, allocations: 0 / 0.7376 GB, free: 1.832 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004594/0.1951, allocations: 107.9 kB / 0.7377 GB, free: 1.727 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.382e-06/0.1951, allocations: 0 / 0.7377 GB, free: 1.727 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.145e-06/0.1951, allocations: 7.922 kB / 0.7377 GB, free: 1.719 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009927/0.1961, allocations: 1.376 MB / 0.7391 GB, free: 248 kB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/0.1961, allocations: 0 / 0.7391 GB, free: 248 kB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.412e-05/0.1962, allocations: 89.19 kB / 0.7391 GB, free: 140 kB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 7.645e-06/0.1962, allocations: 3.953 kB / 0.7391 GB, free: 136 kB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.921e-06/0.1962, allocations: 4 kB / 0.7391 GB, free: 132 kB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.104e-05/0.1962, allocations: 11.92 kB / 0.7392 GB, free: 120 kB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.833e-05/0.1963, allocations: 0 / 0.7392 GB, free: 120 kB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.647e-06/0.1963, allocations: 0 / 0.7392 GB, free: 120 kB / 0.5417 GB Notification: Performance of sorting global known variables: time 3.793e-05/0.1963, allocations: 97.77 kB / 0.7393 GB, free: 24 kB / 0.5417 GB Notification: Performance of sort global known variables: time 5e-08/0.1963, allocations: 0 / 0.7393 GB, free: 24 kB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0001632/0.1965, allocations: 23.94 kB / 0.7393 GB, free: 0 / 0.5417 GB 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.0001506/0.1966, allocations: 115.2 kB / 0.7394 GB, free: 15.88 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0005631/0.1972, allocations: 153.5 kB / 0.7395 GB, free: 15.72 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.1972, allocations: 0 / 0.7395 GB, free: 15.72 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.000489/0.1977, allocations: 115.8 kB / 0.7396 GB, free: 15.61 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001774/0.1978, allocations: 21.81 kB / 0.7397 GB, free: 15.59 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003184/0.1982, allocations: 159.8 kB / 0.7398 GB, free: 15.4 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.092e-05/0.1982, allocations: 71.33 kB / 0.7399 GB, free: 15.31 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.485e-05/0.1982, allocations: 7.438 kB / 0.7399 GB, free: 15.3 MB / 0.5573 GB Notification: Performance of SimCode: time 5.41e-07/0.1982, allocations: 0 / 0.7399 GB, free: 15.3 MB / 0.5573 GB Notification: Performance of Templates: time 0.002165/0.2004, allocations: 1.149 MB / 0.741 GB, free: 14.15 MB / 0.5573 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp.sim & ./IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.463410426978953]