Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_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.001281/0.001281, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.001385/0.001385, allocations: 181 kB / 23.36 MB, free: 1.133 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.003/1.003, allocations: 177.1 MB / 203.8 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.8159/0.8159, allocations: 154.6 MB / 414.8 MB, free: 496 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.404e-06/2.404e-06, allocations: 4.656 kB / 480 MB, free: 6.824 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.002e-05/1.242e-05, allocations: 2.312 kB / 480 MB, free: 6.82 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.005116/0.005128, allocations: 1.35 MB / 481.4 MB, free: 5.492 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008447/0.005973, allocations: 0.551 MB / 481.9 MB, free: 4.949 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.35e-05/0.005997, allocations: 0.6562 kB / 481.9 MB, free: 4.949 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 1.561e-05/0.006012, allocations: 1.25 kB / 481.9 MB, free: 4.949 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 4.41e-05/0.006056, allocations: 1.312 kB / 481.9 MB, free: 4.949 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003769/0.006433, allocations: 143.7 kB / 482.1 MB, free: 4.82 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 4.452e-05/0.006478, allocations: 7.172 kB / 482.1 MB, free: 4.816 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.334e-05/0.006511, allocations: 4 kB / 482.1 MB, free: 4.812 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.578e-05/0.006547, allocations: 14.17 kB / 482.1 MB, free: 4.801 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.951e-05/0.006586, allocations: 0 / 482.1 MB, free: 4.801 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.02e-05/0.006597, allocations: 0 / 482.1 MB, free: 4.801 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003077/0.006904, allocations: 283.3 kB / 482.4 MB, free: 4.523 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.137e-05/0.006916, allocations: 0 / 482.4 MB, free: 4.523 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 1.163e-05/0.006927, allocations: 4 kB / 482.4 MB, free: 4.52 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001722/0.007099, allocations: 144.5 kB / 482.5 MB, free: 4.379 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.025e-06/0.007103, allocations: 3.984 kB / 482.5 MB, free: 4.375 MB / 442.7 MB Notification: Performance of FrontEnd: time 8.92e-07/0.007103, allocations: 0.875 kB / 482.5 MB, free: 4.375 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.287e-06/0.007107, allocations: 4 kB / 482.5 MB, free: 4.371 MB / 442.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.0002548/0.007361, allocations: 256.3 kB / 482.8 MB, free: 4.098 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.308e-05/0.007395, allocations: 8.031 kB / 482.8 MB, free: 4.09 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.206e-05/0.007417, allocations: 4.938 kB / 482.8 MB, free: 4.086 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.007e-05/0.007487, allocations: 102.5 kB / 482.9 MB, free: 3.961 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.326e-06/0.007495, allocations: 1.547 kB / 482.9 MB, free: 3.961 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.971e-06/0.007501, allocations: 4.375 kB / 482.9 MB, free: 3.957 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.674e-05/0.007558, allocations: 34.84 kB / 482.9 MB, free: 3.918 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.292e-06/0.007564, allocations: 0.8125 kB / 482.9 MB, free: 3.918 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.36e-06/0.007569, allocations: 384 / 482.9 MB, free: 3.918 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.581e-06/0.007575, allocations: 1.656 kB / 482.9 MB, free: 3.918 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.889e-06/0.007585, allocations: 8.531 kB / 483 MB, free: 3.91 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.781e-05/0.007663, allocations: 57.64 kB / 483 MB, free: 3.84 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.49e-05/0.007698, allocations: 23.42 kB / 483 MB, free: 3.809 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.357e-06/0.007707, allocations: 4.859 kB / 483 MB, free: 3.801 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.188e-05/0.007719, allocations: 5.844 kB / 483 MB, free: 3.797 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.903e-05/0.007738, allocations: 38.48 kB / 483.1 MB, free: 3.75 MB / 442.7 MB Notification: Performance of pre-optimization done (n=2): time 1.192e-06/0.007739, allocations: 3.938 kB / 483.1 MB, free: 3.75 MB / 442.7 MB Notification: Performance of matching and sorting (n=2): time 7.497e-05/0.007814, allocations: 33.7 kB / 483.1 MB, free: 3.711 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.372e-05/0.007838, allocations: 51.94 kB / 483.2 MB, free: 3.648 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.019e-05/0.007888, allocations: 99.72 kB / 483.3 MB, free: 3.539 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 9.858e-06/0.007898, allocations: 29.69 kB / 483.3 MB, free: 3.504 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.962e-05/0.007917, allocations: 84.88 kB / 483.4 MB, free: 3.418 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.183e-05/0.007939, allocations: 8.234 kB / 483.4 MB, free: 3.41 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.116e-05/0.00796, allocations: 18.94 kB / 483.4 MB, free: 3.387 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.955e-05/0.00803, allocations: 318.7 kB / 483.7 MB, free: 3.066 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.54e-06/0.008035, allocations: 4 kB / 483.7 MB, free: 3.062 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.851e-06/0.008041, allocations: 0.5938 kB / 483.7 MB, free: 3.062 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.023e-05/0.008062, allocations: 18.69 kB / 483.7 MB, free: 3.043 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.008063, allocations: 0 / 483.7 MB, free: 3.043 MB / 442.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 3.231e-05/0.008095, allocations: 33.7 kB / 483.8 MB, free: 3.004 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.407e-06/0.008105, allocations: 4 kB / 483.8 MB, free: 3 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.008108, allocations: 0 / 483.8 MB, free: 3 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.779e-06/0.008118, allocations: 0.75 kB / 483.8 MB, free: 3 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.831e-05/0.008216, allocations: 11.98 kB / 483.8 MB, free: 2.988 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002191/0.008436, allocations: 0.5878 MB / 484.4 MB, free: 2.379 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.282e-05/0.008448, allocations: 4 kB / 484.4 MB, free: 2.375 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.459e-06/0.008453, allocations: 0 / 484.4 MB, free: 2.375 MB / 442.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 (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 prepare postOptimizeDAE: time 4.445e-05/0.008497, allocations: 106.9 kB / 484.5 MB, free: 2.262 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.192e-06/0.008504, allocations: 11.98 kB / 484.5 MB, free: 2.25 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.114e-05/0.008565, allocations: 34.61 kB / 484.5 MB, free: 2.215 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.008567, allocations: 3.938 kB / 484.5 MB, free: 2.211 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.743e-06/0.008569, allocations: 1.406 kB / 484.5 MB, free: 2.211 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.008571, allocations: 4 kB / 484.5 MB, free: 2.207 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.792e-05/0.008619, allocations: 70.47 kB / 484.6 MB, free: 2.121 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.008621, allocations: 4.625 kB / 484.6 MB, free: 2.117 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.579e-05/0.008657, allocations: 7.938 kB / 484.6 MB, free: 2.109 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.008659, allocations: 0.5938 kB / 484.6 MB, free: 2.109 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.747e-06/0.008663, allocations: 3.984 kB / 484.6 MB, free: 2.105 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001632/0.008826, allocations: 0.5835 MB / 485.2 MB, free: 1.5 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.008827, allocations: 0 / 485.2 MB, free: 1.5 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.711e-05/0.008864, allocations: 61.66 kB / 485.3 MB, free: 1.422 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.844e-06/0.008872, allocations: 8.812 kB / 485.3 MB, free: 1.414 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.052e-06/0.008878, allocations: 0 / 485.3 MB, free: 1.414 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.943e-06/0.008885, allocations: 4.719 kB / 485.3 MB, free: 1.41 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.476e-06/0.008894, allocations: 0 / 485.3 MB, free: 1.41 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.403e-06/0.008895, allocations: 1.031 kB / 485.3 MB, free: 1.41 MB / 442.7 MB Notification: Performance of sorting global known variables: time 7.414e-06/0.008902, allocations: 8.859 kB / 485.3 MB, free: 1.398 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008903, allocations: 0.5312 kB / 485.3 MB, free: 1.398 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001067/0.009009, allocations: 11.94 kB / 485.3 MB, free: 1.387 MB / 442.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 9.963e-05/0.009109, allocations: 90.44 kB / 485.4 MB, free: 1.289 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 8.892e-05/0.009198, allocations: 20.84 kB / 485.4 MB, free: 1.266 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.0092, allocations: 1.938 kB / 485.4 MB, free: 1.266 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 3.076e-05/0.009231, allocations: 20.78 kB / 485.4 MB, free: 1.242 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.262e-05/0.009283, allocations: 0 / 485.4 MB, free: 1.242 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001964/0.00948, allocations: 119.8 kB / 485.6 MB, free: 1.102 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.259e-05/0.009502, allocations: 51.36 kB / 485.6 MB, free: 1.031 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 1.307e-05/0.009515, allocations: 4.562 kB / 485.6 MB, free: 1.027 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.152e-05/0.009537, allocations: 48.69 kB / 485.7 MB, free: 0.9805 MB / 442.7 MB Notification: Performance of SimCode: time 7.71e-07/0.009538, allocations: 0 / 485.7 MB, free: 0.9805 MB / 442.7 MB Notification: Performance of Templates: time 0.001842/0.01138, allocations: 0.5334 MB / 486.2 MB, free: 0.5117 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & ./IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.398015211801976]