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.0006683/0.0006683, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009525/0.001621, 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.0006862/0.0006862, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009132/0.001599, 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 0.9791/0.9791, allocations: 177.2 MB / 189.7 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09386/1.073, allocations: 53.67 MB / 243.4 MB, free: 15.5 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.7769/0.7769, allocations: 155.3 MB / 399.5 MB, free: 15.82 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.2821/1.059, allocations: 49.13 MB / 448.6 MB, free: 5.91 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.303e-06/1.303e-06, allocations: 0 / 450 MB, free: 4.602 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.038e-05/1.168e-05, allocations: 6.469 kB / 450 MB, free: 4.598 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.00225/0.002261, allocations: 1.378 MB / 451.3 MB, free: 3.238 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007892/0.00305, allocations: 0.5691 MB / 451.9 MB, free: 2.684 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.843e-05/0.003069, allocations: 0.7656 kB / 451.9 MB, free: 2.684 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 9.388e-06/0.003078, allocations: 3.938 kB / 451.9 MB, free: 2.68 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 2.498e-05/0.003103, allocations: 2.297 kB / 451.9 MB, free: 2.68 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003732/0.003476, allocations: 141.8 kB / 452.1 MB, free: 2.551 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 6.302e-05/0.003539, allocations: 24.36 kB / 452.1 MB, free: 2.535 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.068e-05/0.00358, allocations: 4.656 kB / 452.1 MB, free: 2.531 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.335e-05/0.003634, allocations: 17.17 kB / 452.1 MB, free: 2.52 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.667e-05/0.00369, allocations: 5.828 kB / 452.1 MB, free: 2.516 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.5e-05/0.003705, allocations: 4 kB / 452.1 MB, free: 2.512 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004289/0.004134, allocations: 278.6 kB / 452.4 MB, free: 2.242 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 1.329e-05/0.004147, allocations: 0 / 452.4 MB, free: 2.242 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 1.671e-05/0.004164, allocations: 4 kB / 452.4 MB, free: 2.238 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002416/0.004406, allocations: 135.6 kB / 452.5 MB, free: 2.105 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.048e-05/0.004416, allocations: 0 / 452.5 MB, free: 2.105 MB / 426.7 MB Notification: Performance of FrontEnd: time 6.71e-07/0.004417, allocations: 0.5938 kB / 452.5 MB, free: 2.105 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.875e-06/0.004425, allocations: 1.812 kB / 452.5 MB, free: 2.105 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.0003683/0.004793, allocations: 268.3 kB / 452.8 MB, free: 1.816 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.216e-05/0.004825, allocations: 8.031 kB / 452.8 MB, free: 1.809 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.48e-05/0.00486, allocations: 12.94 kB / 452.8 MB, free: 1.797 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.955e-05/0.004949, allocations: 109.6 kB / 452.9 MB, free: 1.668 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.034e-05/0.00496, allocations: 6.109 kB / 452.9 MB, free: 1.664 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.139e-05/0.004971, allocations: 4.312 kB / 452.9 MB, free: 1.66 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.668e-05/0.005048, allocations: 38.25 kB / 453 MB, free: 1.617 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.364e-06/0.005055, allocations: 192 / 453 MB, free: 1.617 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.091e-06/0.005061, allocations: 1.219 kB / 453 MB, free: 1.617 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-06/0.005067, allocations: 4.375 kB / 453 MB, free: 1.613 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.253e-05/0.005089, allocations: 9.062 kB / 453 MB, free: 1.605 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002258/0.005315, allocations: 152.3 kB / 453.1 MB, free: 1.441 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001439/0.005459, allocations: 43.06 kB / 453.2 MB, free: 1.391 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.995e-05/0.005479, allocations: 10.17 kB / 453.2 MB, free: 1.379 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.71e-05/0.005496, allocations: 9.438 kB / 453.2 MB, free: 1.371 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.496e-05/0.005521, allocations: 34.62 kB / 453.2 MB, free: 1.328 MB / 426.7 MB Notification: Performance of pre-optimization done (n=4): time 1.183e-06/0.005522, allocations: 0 / 453.2 MB, free: 1.328 MB / 426.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001096/0.005632, allocations: 43.97 kB / 453.3 MB, free: 1.281 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.146e-05/0.005663, allocations: 59.34 kB / 453.3 MB, free: 1.211 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.292e-05/0.005726, allocations: 114.6 kB / 453.4 MB, free: 1.086 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.192e-05/0.005738, allocations: 25.7 kB / 453.4 MB, free: 1.055 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.714e-05/0.005775, allocations: 80.14 kB / 453.5 MB, free: 0.9727 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.326e-05/0.005789, allocations: 23.83 kB / 453.6 MB, free: 0.9492 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.01e-05/0.005819, allocations: 18.61 kB / 453.6 MB, free: 0.9258 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.641e-05/0.005905, allocations: 310.8 kB / 453.9 MB, free: 0.6133 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.072e-05/0.005916, allocations: 4.688 kB / 453.9 MB, free: 0.6094 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.185e-05/0.005938, allocations: 17.7 kB / 453.9 MB, free: 0.5859 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.634e-05/0.005974, allocations: 31.95 kB / 453.9 MB, free: 0.5508 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.674e-06/0.005976, allocations: 0 / 453.9 MB, free: 0.5508 MB / 426.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.678e-05/0.006042, allocations: 50.25 kB / 454 MB, free: 0.4961 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.153e-05/0.006054, allocations: 4.625 kB / 454 MB, free: 0.4922 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.73e-06/0.00606, allocations: 4 kB / 454 MB, free: 500 kB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/0.006075, allocations: 0.625 kB / 454 MB, free: 500 kB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.87e-05/0.006124, allocations: 11.94 kB / 454 MB, free: 488 kB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.976e-06/0.006127, allocations: 0.625 kB / 454 MB, free: 488 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.933e-05/0.006146, allocations: 0.625 kB / 454 MB, free: 488 kB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.43e-06/0.006151, allocations: 4 kB / 454 MB, free: 484 kB / 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.704e-05/0.006208, allocations: 114.5 kB / 454.1 MB, free: 360 kB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.399e-05/0.006232, allocations: 8.531 kB / 454.1 MB, free: 352 kB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.464e-05/0.006327, allocations: 47.12 kB / 454.2 MB, free: 296 kB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.006329, allocations: 0 / 454.2 MB, free: 296 kB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.865e-06/0.006331, allocations: 4.969 kB / 454.2 MB, free: 292 kB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.006334, allocations: 4 kB / 454.2 MB, free: 288 kB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001135/0.006448, allocations: 69.83 kB / 454.2 MB, free: 200 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.00645, allocations: 5.031 kB / 454.2 MB, free: 196 kB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.77e-05/0.006477, allocations: 8 kB / 454.3 MB, free: 188 kB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.564e-06/0.006485, allocations: 6.609 kB / 454.3 MB, free: 184 kB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.302e-06/0.006486, allocations: 0 / 454.3 MB, free: 184 kB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.138e-06/0.00649, allocations: 3.938 kB / 454.3 MB, free: 180 kB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.345e-06/0.006493, allocations: 4.625 kB / 454.3 MB, free: 176 kB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.006495, allocations: 5.25 kB / 454.3 MB, free: 172 kB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.394e-05/0.006579, allocations: 139.5 kB / 454.4 MB, free: 16 kB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.688e-06/0.006588, allocations: 4 kB / 454.4 MB, free: 12 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.429e-05/0.006633, allocations: 0 / 454.4 MB, free: 12 kB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.241e-05/0.006645, allocations: 4.5 kB / 454.4 MB, free: 8 kB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.454e-06/0.006648, allocations: 1.312 kB / 454.4 MB, free: 8 kB / 426.7 MB Notification: Performance of sorting global known variables: time 2.806e-05/0.006676, allocations: 12.88 kB / 454.4 MB, free: 15.99 MB / 442.7 MB Notification: Performance of sort global known variables: time 8e-08/0.006676, allocations: 0 / 454.4 MB, free: 15.99 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0002338/0.006909, allocations: 23.92 kB / 454.5 MB, free: 15.96 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 (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.0001483/0.007058, allocations: 101.3 kB / 454.6 MB, free: 15.86 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 6.726e-05/0.007125, allocations: 30.42 kB / 454.6 MB, free: 15.83 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.00713, allocations: 0 / 454.6 MB, free: 15.83 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 2.341e-05/0.007153, allocations: 13.36 kB / 454.6 MB, free: 15.81 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001503/0.007304, allocations: 9.375 kB / 454.6 MB, free: 15.8 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005345/0.007838, allocations: 129.6 kB / 454.7 MB, free: 15.66 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.852e-05/0.007876, allocations: 56 kB / 454.8 MB, free: 15.58 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 2.921e-05/0.007906, allocations: 9.422 kB / 454.8 MB, free: 15.57 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.155e-05/0.007947, allocations: 55.36 kB / 454.9 MB, free: 15.52 MB / 442.7 MB Notification: Performance of SimCode: time 4.71e-07/0.007948, allocations: 0.7812 kB / 454.9 MB, free: 15.52 MB / 442.7 MB Notification: Performance of Templates: time 0.002346/0.01029, allocations: 0.5713 MB / 455.4 MB, free: 14.99 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.375456160865724]