Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.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.0009426/0.0009426, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001315/0.002258, 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.00072/0.00072, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009236/0.001644, 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 1.015/1.015, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08637/1.101, allocations: 53.65 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.8105/0.8105, allocations: 155.3 MB / 399.3 MB, free: 15.91 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.2517/1.062, allocations: 49.13 MB / 448.4 MB, free: 6 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.InverseFlowFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.342e-06/1.342e-06, allocations: 0.5469 kB / 449.7 MB, free: 4.719 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.036e-05/2.17e-05, allocations: 2.938 kB / 449.7 MB, free: 4.715 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.001996/0.002018, allocations: 1.373 MB / 451.1 MB, free: 3.359 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008412/0.002859, allocations: 0.5685 MB / 451.6 MB, free: 2.805 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.002e-05/0.002879, allocations: 0 / 451.6 MB, free: 2.805 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 8.055e-06/0.002887, allocations: 0.5938 kB / 451.6 MB, free: 2.805 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 2.801e-05/0.002915, allocations: 10.95 kB / 451.6 MB, free: 2.797 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003343/0.003249, allocations: 142.6 kB / 451.8 MB, free: 2.672 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 6.017e-05/0.003309, allocations: 21.41 kB / 451.8 MB, free: 2.656 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.502e-05/0.003344, allocations: 4 kB / 451.8 MB, free: 2.652 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.81e-05/0.003392, allocations: 16.97 kB / 451.8 MB, free: 2.637 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.311e-05/0.003445, allocations: 7.984 kB / 451.8 MB, free: 2.629 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.191e-05/0.003457, allocations: 3.938 kB / 451.8 MB, free: 2.625 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003699/0.003827, allocations: 276.3 kB / 452.1 MB, free: 2.355 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 1.251e-05/0.00384, allocations: 7.938 kB / 452.1 MB, free: 2.348 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 1.472e-05/0.003855, allocations: 4.5 kB / 452.1 MB, free: 2.344 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002024/0.004057, allocations: 124.2 kB / 452.2 MB, free: 2.223 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.455e-05/0.004071, allocations: 0 / 452.2 MB, free: 2.223 MB / 426.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.004072, allocations: 1.281 kB / 452.2 MB, free: 2.223 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.527e-05/0.004088, allocations: 3.938 kB / 452.2 MB, free: 2.219 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003686/0.004456, allocations: 276.3 kB / 452.5 MB, free: 1.922 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.841e-05/0.004485, allocations: 12.72 kB / 452.5 MB, free: 1.91 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.454e-05/0.004509, allocations: 0.9375 kB / 452.5 MB, free: 1.91 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.362e-05/0.004583, allocations: 109.8 kB / 452.6 MB, free: 1.781 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.437e-06/0.004592, allocations: 384 / 452.6 MB, free: 1.781 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.185e-06/0.0046, allocations: 4.375 kB / 452.6 MB, free: 1.777 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.934e-05/0.00467, allocations: 38.25 kB / 452.7 MB, free: 1.734 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.162e-06/0.004676, allocations: 4.125 kB / 452.7 MB, free: 1.73 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.3e-06/0.004681, allocations: 0.9375 kB / 452.7 MB, free: 1.73 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.93e-06/0.004686, allocations: 1 kB / 452.7 MB, free: 1.73 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.786e-05/0.004714, allocations: 15.92 kB / 452.7 MB, free: 1.715 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001881/0.004902, allocations: 157.7 kB / 452.9 MB, free: 1.551 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001298/0.005032, allocations: 38.56 kB / 452.9 MB, free: 1.504 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.959e-05/0.005051, allocations: 14.36 kB / 452.9 MB, free: 1.488 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.657e-05/0.005068, allocations: 0 / 452.9 MB, free: 1.488 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.067e-05/0.005089, allocations: 38.5 kB / 452.9 MB, free: 1.441 MB / 426.7 MB Notification: Performance of pre-optimization done (n=4): time 9.22e-07/0.00509, allocations: 0 / 452.9 MB, free: 1.441 MB / 426.7 MB Notification: Performance of matching and sorting (n=4): time 9.896e-05/0.005189, allocations: 42.53 kB / 453 MB, free: 1.395 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.944e-05/0.005218, allocations: 55.34 kB / 453 MB, free: 1.328 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.275e-05/0.005271, allocations: 115.2 kB / 453.1 MB, free: 1.203 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 8.396e-06/0.005279, allocations: 25.7 kB / 453.2 MB, free: 1.172 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.469e-05/0.005314, allocations: 84.98 kB / 453.3 MB, free: 1.086 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.776e-06/0.005323, allocations: 11.91 kB / 453.3 MB, free: 1.074 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.7e-05/0.00535, allocations: 18.33 kB / 453.3 MB, free: 1.051 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.553e-05/0.005435, allocations: 318.8 kB / 453.6 MB, free: 0.7305 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.685e-06/0.005443, allocations: 1.5 kB / 453.6 MB, free: 0.7305 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.897e-05/0.005462, allocations: 21.66 kB / 453.6 MB, free: 0.7031 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.349e-05/0.005495, allocations: 26.36 kB / 453.6 MB, free: 0.6719 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.005497, allocations: 2.094 kB / 453.6 MB, free: 0.6719 MB / 426.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 5.667e-05/0.005554, allocations: 51.11 kB / 453.7 MB, free: 0.6172 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.211e-05/0.005566, allocations: 8 kB / 453.7 MB, free: 0.6094 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.00557, allocations: 128 / 453.7 MB, free: 0.6094 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.655e-06/0.005578, allocations: 0 / 453.7 MB, free: 0.6094 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.216e-05/0.00562, allocations: 20.83 kB / 453.7 MB, free: 0.5898 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.325e-06/0.005623, allocations: 0 / 453.7 MB, free: 0.5898 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.835e-05/0.005641, allocations: 4 kB / 453.7 MB, free: 0.5859 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.547e-06/0.005645, allocations: 0.9062 kB / 453.7 MB, free: 0.5859 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.003e-05/0.005695, allocations: 113.8 kB / 453.8 MB, free: 476 kB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.724e-05/0.005712, allocations: 1.188 kB / 453.8 MB, free: 476 kB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.934e-05/0.005791, allocations: 57.3 kB / 453.9 MB, free: 412 kB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-06/0.005792, allocations: 0.625 kB / 453.9 MB, free: 412 kB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.474e-06/0.005795, allocations: 3.938 kB / 453.9 MB, free: 408 kB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.275e-06/0.005797, allocations: 0.5938 kB / 453.9 MB, free: 408 kB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.574e-05/0.005893, allocations: 70.48 kB / 454 MB, free: 320 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.005895, allocations: 4 kB / 454 MB, free: 316 kB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.155e-05/0.005917, allocations: 8.516 kB / 454 MB, free: 308 kB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.664e-06/0.005925, allocations: 9.125 kB / 454 MB, free: 300 kB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.062e-06/0.005926, allocations: 0 / 454 MB, free: 300 kB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.126e-06/0.005929, allocations: 0.625 kB / 454 MB, free: 300 kB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.51e-07/0.005929, allocations: 0.8125 kB / 454 MB, free: 300 kB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.005931, allocations: 3.938 kB / 454 MB, free: 296 kB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.661e-05/0.005998, allocations: 141.2 kB / 454.1 MB, free: 140 kB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.186e-06/0.006006, allocations: 1.219 kB / 454.1 MB, free: 140 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.762e-05/0.006044, allocations: 4 kB / 454.1 MB, free: 136 kB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.123e-05/0.006055, allocations: 3.984 kB / 454.1 MB, free: 132 kB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.693e-06/0.006057, allocations: 0.7188 kB / 454.1 MB, free: 132 kB / 426.7 MB Notification: Performance of sorting global known variables: time 1.077e-05/0.006067, allocations: 12.8 kB / 454.2 MB, free: 116 kB / 426.7 MB Notification: Performance of sort global known variables: time 8e-08/0.006068, allocations: 0.9062 kB / 454.2 MB, free: 116 kB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001924/0.00626, allocations: 15.94 kB / 454.2 MB, free: 100 kB / 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 (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001356/0.006396, allocations: 106 kB / 454.3 MB, free: 15.98 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 6.006e-05/0.006456, allocations: 25.31 kB / 454.3 MB, free: 15.96 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.006459, allocations: 0 / 454.3 MB, free: 15.96 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 1.262e-05/0.006472, allocations: 18.16 kB / 454.3 MB, free: 15.94 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001212/0.006593, allocations: 11.88 kB / 454.3 MB, free: 15.93 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004649/0.007058, allocations: 118.9 kB / 454.4 MB, free: 15.79 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.323e-05/0.007091, allocations: 59.22 kB / 454.5 MB, free: 15.71 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 2.81e-05/0.007119, allocations: 13.03 kB / 454.5 MB, free: 15.7 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.202e-05/0.007151, allocations: 52.09 kB / 454.6 MB, free: 15.65 MB / 442.7 MB Notification: Performance of SimCode: time 5.61e-07/0.007152, allocations: 0 / 454.6 MB, free: 15.65 MB / 442.7 MB Notification: Performance of Templates: time 0.002111/0.009263, allocations: 0.5911 MB / 455.2 MB, free: 15.11 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & ./IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.501157892867923]