Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0006777/0.0006777, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001022/0.0017, allocations: 440 kB / 10.41 MB, free: 284 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.0006926/0.0006926, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000926/0.001619, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.09/1.09, allocations: 177.2 MB / 189.7 MB, free: 5.23 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09602/1.186, allocations: 53.67 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/Examples/PPD12/Structure.mo:531:21-535:34: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-master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo): time 0.7354/0.7354, allocations: 155.3 MB / 399.5 MB, free: 15.79 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/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-master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of NFInstanceAPI.mkTop(): time 0.2598/0.9952, allocations: 49.13 MB / 448.6 MB, free: 5.875 MB / 426.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_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_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 449.9 MB, free: 4.578 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.897e-05/3.055e-05, allocations: 12.77 kB / 450 MB, free: 4.566 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.002649/0.00268, allocations: 1.352 MB / 451.3 MB, free: 3.234 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008443/0.003524, allocations: 0.553 MB / 451.9 MB, free: 2.695 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.552e-05/0.00355, allocations: 4 kB / 451.9 MB, free: 2.691 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 7.744e-06/0.003558, allocations: 0 / 451.9 MB, free: 2.691 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 2.278e-05/0.00358, allocations: 1.094 kB / 451.9 MB, free: 2.691 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004092/0.003989, allocations: 142.8 kB / 452 MB, free: 2.562 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 5.39e-05/0.004043, allocations: 8.047 kB / 452 MB, free: 2.559 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.014e-05/0.004084, allocations: 7.281 kB / 452 MB, free: 2.555 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.398e-05/0.004138, allocations: 16.42 kB / 452 MB, free: 2.543 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.012e-05/0.004188, allocations: 1.359 kB / 452 MB, free: 2.543 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.215e-05/0.0042, allocations: 0.7656 kB / 452 MB, free: 2.543 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004487/0.004649, allocations: 281.1 kB / 452.3 MB, free: 2.277 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 1.632e-05/0.004665, allocations: 3.938 kB / 452.3 MB, free: 2.273 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 1.478e-05/0.00468, allocations: 4 kB / 452.3 MB, free: 2.27 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002363/0.004916, allocations: 119.7 kB / 452.4 MB, free: 2.152 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.169e-05/0.004928, allocations: 0 / 452.4 MB, free: 2.152 MB / 426.7 MB Notification: Performance of FrontEnd: time 7.11e-07/0.004928, allocations: 0 / 452.4 MB, free: 2.152 MB / 426.7 MB Notification: Performance of Transformations before backend: time 8.276e-06/0.004937, allocations: 0 / 452.4 MB, free: 2.152 MB / 426.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.0003474/0.005284, allocations: 264.3 kB / 452.7 MB, free: 1.867 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.533e-05/0.005319, allocations: 16.84 kB / 452.7 MB, free: 1.852 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.866e-05/0.005348, allocations: 0.9375 kB / 452.7 MB, free: 1.852 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.902e-05/0.005447, allocations: 108.6 kB / 452.8 MB, free: 1.723 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.06e-05/0.005458, allocations: 384 / 452.8 MB, free: 1.723 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.568e-06/0.005467, allocations: 2.094 kB / 452.8 MB, free: 1.723 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.108e-05/0.005538, allocations: 38.25 kB / 452.9 MB, free: 1.68 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.665e-06/0.005546, allocations: 192 / 452.9 MB, free: 1.68 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.533e-06/0.005552, allocations: 384 / 452.9 MB, free: 1.68 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.421e-06/0.005558, allocations: 1.25 kB / 452.9 MB, free: 1.68 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.339e-05/0.005571, allocations: 7.938 kB / 452.9 MB, free: 1.672 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.139e-05/0.005663, allocations: 58.05 kB / 452.9 MB, free: 1.602 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.274e-05/0.005705, allocations: 22.55 kB / 453 MB, free: 1.57 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.361e-05/0.005719, allocations: 9.766 kB / 453 MB, free: 1.559 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.626e-05/0.005735, allocations: 0.7969 kB / 453 MB, free: 1.559 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.594e-05/0.005761, allocations: 40.44 kB / 453 MB, free: 1.512 MB / 426.7 MB Notification: Performance of pre-optimization done (n=2): time 7.21e-07/0.005762, allocations: 0 / 453 MB, free: 1.512 MB / 426.7 MB Notification: Performance of matching and sorting (n=2): time 9.5e-05/0.005857, allocations: 37.62 kB / 453 MB, free: 1.469 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.091e-05/0.005888, allocations: 51.41 kB / 453.1 MB, free: 1.406 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.17e-05/0.00595, allocations: 107.9 kB / 453.2 MB, free: 1.289 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.092e-05/0.00596, allocations: 25.7 kB / 453.2 MB, free: 1.258 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.405e-05/0.005985, allocations: 84.14 kB / 453.3 MB, free: 1.172 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.506e-05/0.00601, allocations: 8.5 kB / 453.3 MB, free: 1.164 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.518e-05/0.006035, allocations: 10.84 kB / 453.3 MB, free: 1.148 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.178e-05/0.006127, allocations: 322.8 kB / 453.6 MB, free: 0.8242 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.494e-06/0.006134, allocations: 0 / 453.6 MB, free: 0.8242 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.765e-06/0.006142, allocations: 4.594 kB / 453.6 MB, free: 0.8203 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.196e-05/0.006164, allocations: 9.453 kB / 453.6 MB, free: 0.8086 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.006166, allocations: 1.156 kB / 453.6 MB, free: 0.8086 MB / 426.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.174e-05/0.006217, allocations: 37.62 kB / 453.7 MB, free: 0.7656 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/0.006231, allocations: 8 kB / 453.7 MB, free: 0.7578 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.006235, allocations: 0.5312 kB / 453.7 MB, free: 0.7578 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.006249, allocations: 1.938 kB / 453.7 MB, free: 0.7578 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001317/0.00638, allocations: 11.98 kB / 453.7 MB, free: 0.7461 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002887/0.006669, allocations: 0.5782 MB / 454.3 MB, free: 148 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.765e-05/0.006687, allocations: 7.938 kB / 454.3 MB, free: 140 kB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.738e-06/0.006691, allocations: 0.5625 kB / 454.3 MB, free: 140 kB / 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 (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 5.811e-05/0.006749, allocations: 106.9 kB / 454.4 MB, free: 24 kB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.042e-06/0.006756, allocations: 0 / 454.4 MB, free: 24 kB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.674e-05/0.006852, allocations: 50.53 kB / 454.4 MB, free: 15.97 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.566e-06/0.006856, allocations: 5.281 kB / 454.5 MB, free: 15.96 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.054e-06/0.006858, allocations: 0 / 454.5 MB, free: 15.96 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.554e-06/0.00686, allocations: 0 / 454.5 MB, free: 15.96 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.64e-05/0.006927, allocations: 65.89 kB / 454.5 MB, free: 15.88 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.006928, allocations: 0.625 kB / 454.5 MB, free: 15.88 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.948e-05/0.006987, allocations: 9.031 kB / 454.5 MB, free: 15.88 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.815e-06/0.006995, allocations: 7.938 kB / 454.5 MB, free: 15.87 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.006997, allocations: 0 / 454.5 MB, free: 15.87 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.482e-06/0.007004, allocations: 8.547 kB / 454.5 MB, free: 15.86 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002343/0.007238, allocations: 0.583 MB / 455.1 MB, free: 15.25 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.007239, allocations: 0 / 455.1 MB, free: 15.25 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.362e-05/0.007293, allocations: 62.88 kB / 455.2 MB, free: 15.18 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.225e-05/0.007305, allocations: 8.609 kB / 455.2 MB, free: 15.17 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.006e-05/0.007315, allocations: 0 / 455.2 MB, free: 15.17 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.688e-06/0.007325, allocations: 0.625 kB / 455.2 MB, free: 15.17 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.715e-06/0.007327, allocations: 0.625 kB / 455.2 MB, free: 15.17 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.178e-05/0.007339, allocations: 9.484 kB / 455.2 MB, free: 15.16 MB / 442.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.007339, allocations: 0 / 455.2 MB, free: 15.16 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001927/0.007532, allocations: 16.56 kB / 455.2 MB, free: 15.14 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 0.0001554/0.007687, allocations: 109.7 kB / 455.3 MB, free: 15.02 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 8.972e-05/0.007777, allocations: 20.8 kB / 455.3 MB, free: 15 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.007781, allocations: 1.781 kB / 455.4 MB, free: 15 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 3.668e-05/0.007818, allocations: 20.78 kB / 455.4 MB, free: 14.98 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.657e-05/0.007884, allocations: 4 kB / 455.4 MB, free: 14.97 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004959/0.00838, allocations: 108 kB / 455.5 MB, free: 14.85 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.095e-05/0.008411, allocations: 55.22 kB / 455.5 MB, free: 14.77 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 2.289e-05/0.008434, allocations: 6.438 kB / 455.5 MB, free: 14.77 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.139e-05/0.008466, allocations: 49.38 kB / 455.6 MB, free: 14.72 MB / 442.7 MB Notification: Performance of SimCode: time 4.21e-07/0.008466, allocations: 0 / 455.6 MB, free: 14.72 MB / 442.7 MB Notification: Performance of Templates: time 0.002266/0.01073, allocations: 0.52 MB / 456.1 MB, free: 14.27 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & ./IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.4777096146717668]