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.0008961/0.0008961, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001364/0.00226, allocations: 435.8 kB / 10.33 MB, free: 368 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.0009769/0.0009769, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001256/0.002233, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.9969/0.9969, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09425/1.091, allocations: 53.66 MB / 243.2 MB, free: 15.59 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.7761/0.7761, allocations: 155.3 MB / 399.3 MB, free: 15.92 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.3063/1.082, allocations: 49.13 MB / 448.4 MB, free: 5.988 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.332e-06/1.332e-06, allocations: 0 / 449.7 MB, free: 4.707 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.197e-05/2.33e-05, allocations: 3.438 kB / 449.7 MB, free: 4.703 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.001615/0.001638, allocations: 1.342 MB / 451 MB, free: 3.379 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008672/0.002506, allocations: 0.563 MB / 451.6 MB, free: 2.828 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.038e-05/0.002526, allocations: 1.281 kB / 451.6 MB, free: 2.828 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 9.067e-06/0.002535, allocations: 0 / 451.6 MB, free: 2.828 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 2.263e-05/0.002558, allocations: 1.641 kB / 451.6 MB, free: 2.828 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003234/0.002881, allocations: 139.7 kB / 451.7 MB, free: 2.703 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 5.898e-05/0.00294, allocations: 12.36 kB / 451.8 MB, free: 2.695 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.546e-05/0.002986, allocations: 4 kB / 451.8 MB, free: 2.691 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.567e-05/0.003041, allocations: 5.094 kB / 451.8 MB, free: 2.688 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.875e-05/0.0031, allocations: 9.297 kB / 451.8 MB, free: 2.68 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.384e-05/0.003114, allocations: 4 kB / 451.8 MB, free: 2.676 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003369/0.003451, allocations: 269.8 kB / 452 MB, free: 2.414 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 1.214e-05/0.003463, allocations: 5.656 kB / 452 MB, free: 2.41 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 1.188e-05/0.003475, allocations: 3.938 kB / 452 MB, free: 2.406 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001788/0.003654, allocations: 123.6 kB / 452.2 MB, free: 2.285 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.476e-05/0.003668, allocations: 0 / 452.2 MB, free: 2.285 MB / 426.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.003669, allocations: 0 / 452.2 MB, free: 2.285 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.56e-05/0.003684, allocations: 2 kB / 452.2 MB, free: 2.285 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.0003366/0.004021, allocations: 268.4 kB / 452.4 MB, free: 1.996 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.999e-05/0.004051, allocations: 8.031 kB / 452.4 MB, free: 1.988 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.333e-05/0.004074, allocations: 0.9375 kB / 452.4 MB, free: 1.988 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.662e-05/0.004151, allocations: 111.8 kB / 452.6 MB, free: 1.855 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.09e-05/0.004162, allocations: 2.5 kB / 452.6 MB, free: 1.855 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.362e-06/0.004168, allocations: 384 / 452.6 MB, free: 1.855 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.781e-05/0.004236, allocations: 35.09 kB / 452.6 MB, free: 1.816 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.123e-06/0.004243, allocations: 192 / 452.6 MB, free: 1.816 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.601e-06/0.004249, allocations: 384 / 452.6 MB, free: 1.816 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.004253, allocations: 1.031 kB / 452.6 MB, free: 1.816 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.39e-05/0.004267, allocations: 7.938 kB / 452.6 MB, free: 1.809 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.321e-05/0.00435, allocations: 65.39 kB / 452.7 MB, free: 1.734 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.008e-05/0.004391, allocations: 25.45 kB / 452.7 MB, free: 1.703 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.336e-05/0.004404, allocations: 8.859 kB / 452.7 MB, free: 1.691 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.748e-05/0.004421, allocations: 0.625 kB / 452.7 MB, free: 1.691 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.073e-05/0.004442, allocations: 40.11 kB / 452.7 MB, free: 1.645 MB / 426.7 MB Notification: Performance of pre-optimization done (n=2): time 5.31e-07/0.004443, allocations: 0 / 452.7 MB, free: 1.645 MB / 426.7 MB Notification: Performance of matching and sorting (n=2): time 8.389e-05/0.004527, allocations: 33.7 kB / 452.8 MB, free: 1.605 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.8e-05/0.004555, allocations: 51.41 kB / 452.8 MB, free: 1.543 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.135e-05/0.004606, allocations: 96.81 kB / 452.9 MB, free: 1.438 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 9.508e-06/0.004615, allocations: 33.69 kB / 452.9 MB, free: 1.398 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.054e-05/0.004636, allocations: 92 kB / 453 MB, free: 1.305 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.38e-05/0.00466, allocations: 3.953 kB / 453 MB, free: 1.301 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.093e-05/0.004681, allocations: 22.62 kB / 453.1 MB, free: 1.273 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002138/0.004894, allocations: 314.8 kB / 453.4 MB, free: 0.957 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.161e-06/0.004901, allocations: 0 / 453.4 MB, free: 0.957 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.782e-06/0.004907, allocations: 5 kB / 453.4 MB, free: 0.9531 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.938e-05/0.004927, allocations: 13.72 kB / 453.4 MB, free: 0.9375 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.004929, allocations: 0 / 453.4 MB, free: 0.9375 MB / 426.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 3.408e-05/0.004963, allocations: 34.61 kB / 453.4 MB, free: 0.8984 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.185e-05/0.004975, allocations: 4 kB / 453.4 MB, free: 0.8945 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.004979, allocations: 1 kB / 453.4 MB, free: 0.8945 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.354e-06/0.004986, allocations: 0 / 453.4 MB, free: 0.8945 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001197/0.005106, allocations: 15.92 kB / 453.4 MB, free: 0.8789 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002133/0.005319, allocations: 0.5839 MB / 454 MB, free: 280 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.067e-05/0.00533, allocations: 0 / 454 MB, free: 280 kB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.547e-06/0.005333, allocations: 0 / 454 MB, free: 280 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 4.762e-05/0.005381, allocations: 110.3 kB / 454.1 MB, free: 160 kB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.082e-06/0.005387, allocations: 9.359 kB / 454.1 MB, free: 152 kB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.978e-05/0.005447, allocations: 36.95 kB / 454.2 MB, free: 108 kB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.00545, allocations: 3.938 kB / 454.2 MB, free: 104 kB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.535e-06/0.005452, allocations: 5.062 kB / 454.2 MB, free: 100 kB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-06/0.005457, allocations: 3.984 kB / 454.2 MB, free: 96 kB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.408e-05/0.005501, allocations: 61.91 kB / 454.3 MB, free: 16 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.005502, allocations: 0.7188 kB / 454.3 MB, free: 16 kB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.869e-05/0.005541, allocations: 8 kB / 454.3 MB, free: 8 kB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.183e-06/0.005548, allocations: 8.844 kB / 454.3 MB, free: 0 / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.005551, allocations: 4.047 kB / 454.3 MB, free: 15.99 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.24e-06/0.005556, allocations: 4.594 kB / 454.3 MB, free: 15.99 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001693/0.005725, allocations: 0.5795 MB / 454.9 MB, free: 15.39 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.005726, allocations: 4 kB / 454.9 MB, free: 15.39 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.259e-05/0.005769, allocations: 67.09 kB / 454.9 MB, free: 15.3 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.975e-06/0.005777, allocations: 0 / 454.9 MB, free: 15.3 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.67e-06/0.005782, allocations: 1.438 kB / 454.9 MB, free: 15.3 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.593e-05/0.005798, allocations: 0 / 454.9 MB, free: 15.3 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.056e-06/0.005801, allocations: 4 kB / 454.9 MB, free: 15.3 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.109e-05/0.005812, allocations: 8.859 kB / 454.9 MB, free: 15.29 MB / 442.7 MB Notification: Performance of sort global known variables: time 1e-07/0.005812, allocations: 4.781 kB / 454.9 MB, free: 15.29 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001121/0.005925, allocations: 15.94 kB / 455 MB, free: 15.27 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.0001193/0.006044, allocations: 105.8 kB / 455.1 MB, free: 15.16 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 7.35e-05/0.006117, allocations: 17.98 kB / 455.1 MB, free: 15.14 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.00612, allocations: 0 / 455.1 MB, free: 15.14 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 2.562e-05/0.006146, allocations: 16.84 kB / 455.1 MB, free: 15.12 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.216e-05/0.006198, allocations: 4.625 kB / 455.1 MB, free: 15.11 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003844/0.006583, allocations: 113.2 kB / 455.2 MB, free: 14.98 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.392e-05/0.006606, allocations: 55.75 kB / 455.3 MB, free: 14.91 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 1.755e-05/0.006624, allocations: 2.906 kB / 455.3 MB, free: 14.91 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.444e-05/0.006648, allocations: 51.38 kB / 455.3 MB, free: 14.86 MB / 442.7 MB Notification: Performance of SimCode: time 3.91e-07/0.006649, allocations: 0.8125 kB / 455.3 MB, free: 14.86 MB / 442.7 MB Notification: Performance of Templates: time 0.001721/0.00837, allocations: 0.5112 MB / 455.8 MB, free: 14.41 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.480337619781494]