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.0009332/0.0009332, allocations: 80.94 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.0009341/0.0009341, allocations: 173 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 0.9776/0.9776, allocations: 177.1 MB / 203.8 MB, free: 5.504 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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 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 master/package.mo): time 0.8797/0.8797, allocations: 154.9 MB / 415.1 MB, free: 228 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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 master/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 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.583e-06/1.583e-06, allocations: 3.938 kB / 480.4 MB, free: 6.562 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.822e-05/1.981e-05, allocations: 2.312 kB / 480.4 MB, free: 6.559 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.002355/0.002375, allocations: 1.383 MB / 481.8 MB, free: 5.203 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007912/0.003166, allocations: 0.5559 MB / 482.3 MB, free: 4.66 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.416e-05/0.00319, allocations: 3.25 kB / 482.3 MB, free: 4.66 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 1.791e-05/0.003208, allocations: 4.812 kB / 482.3 MB, free: 4.656 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 5.087e-05/0.003259, allocations: 6.281 kB / 482.3 MB, free: 4.652 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003631/0.003622, allocations: 145.2 kB / 482.5 MB, free: 4.52 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 5.278e-05/0.003675, allocations: 19.33 kB / 482.5 MB, free: 4.504 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.78e-05/0.003713, allocations: 3.984 kB / 482.5 MB, free: 4.5 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.782e-05/0.003751, allocations: 12.89 kB / 482.5 MB, free: 4.488 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.114e-05/0.003802, allocations: 11.92 kB / 482.5 MB, free: 4.477 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.212e-05/0.003814, allocations: 0 / 482.5 MB, free: 4.477 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003147/0.004129, allocations: 276.3 kB / 482.8 MB, free: 4.207 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.418e-05/0.004143, allocations: 4 kB / 482.8 MB, free: 4.203 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 1.431e-05/0.004157, allocations: 4.906 kB / 482.8 MB, free: 4.199 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001938/0.004351, allocations: 159.4 kB / 483 MB, free: 4.043 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.004353, allocations: 0.625 kB / 483 MB, free: 4.043 MB / 442.7 MB Notification: Performance of FrontEnd: time 7.31e-07/0.004354, allocations: 0 / 483 MB, free: 4.043 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.91e-06/0.004359, allocations: 0.625 kB / 483 MB, free: 4.043 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003047/0.004663, allocations: 269 kB / 483.2 MB, free: 3.758 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.209e-05/0.004695, allocations: 11.97 kB / 483.2 MB, free: 3.746 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.511e-05/0.004721, allocations: 5.562 kB / 483.2 MB, free: 3.742 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.614e-05/0.004817, allocations: 110.4 kB / 483.4 MB, free: 3.609 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.137e-05/0.004828, allocations: 384 / 483.4 MB, free: 3.609 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.178e-06/0.004837, allocations: 5 kB / 483.4 MB, free: 3.605 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.548e-05/0.004913, allocations: 38.25 kB / 483.4 MB, free: 3.562 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.013e-06/0.00492, allocations: 1 kB / 483.4 MB, free: 3.562 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.217e-06/0.004929, allocations: 4.359 kB / 483.4 MB, free: 3.559 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.368e-06/0.004938, allocations: 6.156 kB / 483.4 MB, free: 3.555 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.688e-05/0.004965, allocations: 7.938 kB / 483.4 MB, free: 3.547 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002207/0.005186, allocations: 156.5 kB / 483.6 MB, free: 3.379 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001381/0.005324, allocations: 41.97 kB / 483.6 MB, free: 3.332 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.027e-05/0.005344, allocations: 12.92 kB / 483.6 MB, free: 3.316 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.498e-05/0.005359, allocations: 5 kB / 483.6 MB, free: 3.312 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.172e-05/0.005381, allocations: 34.5 kB / 483.7 MB, free: 3.27 MB / 442.7 MB Notification: Performance of pre-optimization done (n=4): time 8.92e-07/0.005382, allocations: 0.625 kB / 483.7 MB, free: 3.27 MB / 442.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001148/0.005497, allocations: 49.61 kB / 483.7 MB, free: 3.215 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.193e-05/0.005529, allocations: 59.84 kB / 483.8 MB, free: 3.145 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.438e-05/0.005583, allocations: 99.53 kB / 483.9 MB, free: 3.035 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 9.669e-06/0.005593, allocations: 25.7 kB / 483.9 MB, free: 3.004 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.817e-05/0.005631, allocations: 81.36 kB / 484 MB, free: 2.922 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.235e-05/0.005643, allocations: 19.83 kB / 484 MB, free: 2.902 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.379e-05/0.005677, allocations: 17.7 kB / 484 MB, free: 2.879 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.177e-05/0.005759, allocations: 315.9 kB / 484.3 MB, free: 2.562 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.669e-06/0.005768, allocations: 4 kB / 484.3 MB, free: 2.559 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.383e-05/0.005792, allocations: 25.69 kB / 484.3 MB, free: 2.527 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.289e-05/0.005825, allocations: 22.81 kB / 484.4 MB, free: 2.5 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.005827, allocations: 0 / 484.4 MB, free: 2.5 MB / 442.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.243e-05/0.005889, allocations: 47.56 kB / 484.4 MB, free: 2.449 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.005902, allocations: 7.984 kB / 484.4 MB, free: 2.441 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.005907, allocations: 0 / 484.4 MB, free: 2.441 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.157e-05/0.005918, allocations: 0 / 484.4 MB, free: 2.441 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.588e-05/0.005954, allocations: 15.88 kB / 484.4 MB, free: 2.426 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.658e-06/0.005959, allocations: 4.844 kB / 484.4 MB, free: 2.422 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.761e-05/0.005976, allocations: 0 / 484.4 MB, free: 2.422 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.349e-06/0.005981, allocations: 1.156 kB / 484.4 MB, free: 2.422 MB / 442.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.327e-05/0.006034, allocations: 113.8 kB / 484.6 MB, free: 2.301 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.915e-05/0.006053, allocations: 1.547 kB / 484.6 MB, free: 2.301 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.008e-05/0.006143, allocations: 54.27 kB / 484.6 MB, free: 2.242 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-06/0.006144, allocations: 0.75 kB / 484.6 MB, free: 2.242 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/0.006147, allocations: 3.938 kB / 484.6 MB, free: 2.238 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.285e-06/0.006149, allocations: 0.5 kB / 484.6 MB, free: 2.238 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001077/0.006257, allocations: 69.98 kB / 484.7 MB, free: 2.152 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.006259, allocations: 4.594 kB / 484.7 MB, free: 2.148 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.237e-05/0.006281, allocations: 12.8 kB / 484.7 MB, free: 2.137 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.382e-06/0.006283, allocations: 0 / 484.7 MB, free: 2.137 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.058e-06/0.006287, allocations: 0 / 484.7 MB, free: 2.137 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.42e-07/0.006288, allocations: 0.5625 kB / 484.7 MB, free: 2.137 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.006288, allocations: 4.938 kB / 484.7 MB, free: 2.133 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.242e-05/0.006371, allocations: 144.5 kB / 484.8 MB, free: 1.977 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.471e-06/0.006376, allocations: 3.938 kB / 484.9 MB, free: 1.973 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.376e-06/0.006385, allocations: 1.312 kB / 484.9 MB, free: 1.973 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.324e-05/0.006428, allocations: 4 kB / 484.9 MB, free: 1.969 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.323e-05/0.006441, allocations: 3.984 kB / 484.9 MB, free: 1.965 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.254e-06/0.006443, allocations: 0.5312 kB / 484.9 MB, free: 1.965 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.073e-05/0.006454, allocations: 12.8 kB / 484.9 MB, free: 1.949 MB / 442.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006454, allocations: 0.9062 kB / 484.9 MB, free: 1.949 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0002076/0.006662, allocations: 19.88 kB / 484.9 MB, free: 1.93 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.0001292/0.006791, allocations: 106.9 kB / 485 MB, free: 1.816 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 5.595e-05/0.006847, allocations: 16.86 kB / 485 MB, free: 1.797 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.00685, allocations: 4.781 kB / 485 MB, free: 1.793 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 1.629e-05/0.006866, allocations: 20.77 kB / 485 MB, free: 1.77 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001363/0.007003, allocations: 6.344 kB / 485 MB, free: 1.766 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002165/0.007219, allocations: 114.8 kB / 485.2 MB, free: 1.629 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.318e-05/0.007252, allocations: 51.36 kB / 485.2 MB, free: 1.559 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 3.387e-05/0.007286, allocations: 13.34 kB / 485.2 MB, free: 1.547 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.498e-05/0.007321, allocations: 51.94 kB / 485.3 MB, free: 1.496 MB / 442.7 MB Notification: Performance of SimCode: time 4.21e-07/0.007322, allocations: 1.906 kB / 485.3 MB, free: 1.496 MB / 442.7 MB Notification: Performance of Templates: time 0.002226/0.009548, allocations: 0.5803 MB / 485.9 MB, free: 0.9609 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6220076731406152]