Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001075/0.001075, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001471/0.002546, 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.001003/0.001003, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00154/0.002543, 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.018/1.018, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09285/1.11, 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/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108: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/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.8229/0.8229, allocations: 154.6 MB / 398.5 MB, free: 0.5117 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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/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.2849/1.108, allocations: 49.04 MB / 447.6 MB, free: 6.68 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/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_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.763e-06/1.763e-06, allocations: 0 / 448.9 MB, free: 5.391 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.052e-05/2.228e-05, allocations: 3.062 kB / 448.9 MB, free: 5.387 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.00179/0.001813, allocations: 1.371 MB / 450.3 MB, free: 4.043 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006298/0.002442, allocations: 0.5682 MB / 450.8 MB, free: 3.484 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.933e-05/0.002462, allocations: 0.9844 kB / 450.8 MB, free: 3.484 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 9.468e-06/0.002471, allocations: 5.219 kB / 450.8 MB, free: 3.48 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 2.465e-05/0.002496, allocations: 2.078 kB / 450.8 MB, free: 3.48 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003105/0.002806, allocations: 146.5 kB / 451 MB, free: 3.348 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 6.371e-05/0.00287, allocations: 19.83 kB / 451 MB, free: 3.336 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.371e-05/0.002914, allocations: 4 kB / 451 MB, free: 3.332 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.382e-05/0.002968, allocations: 17.48 kB / 451 MB, free: 3.316 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.737e-05/0.003025, allocations: 7.984 kB / 451 MB, free: 3.309 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.32e-05/0.003038, allocations: 4 kB / 451 MB, free: 3.305 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003127/0.003351, allocations: 272 kB / 451.3 MB, free: 3.039 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 1.1e-05/0.003362, allocations: 5.625 kB / 451.3 MB, free: 3.035 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 1.522e-05/0.003377, allocations: 8 kB / 451.3 MB, free: 3.027 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001835/0.003561, allocations: 131.6 kB / 451.4 MB, free: 2.898 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.493e-05/0.003576, allocations: 0 / 451.4 MB, free: 2.898 MB / 426.7 MB Notification: Performance of FrontEnd: time 6.41e-07/0.003576, allocations: 0 / 451.4 MB, free: 2.898 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.658e-05/0.003593, allocations: 2.375 kB / 451.4 MB, free: 2.898 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.0003695/0.003962, allocations: 274.4 kB / 451.7 MB, free: 2.605 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.154e-05/0.003994, allocations: 8.031 kB / 451.7 MB, free: 2.598 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.528e-05/0.004019, allocations: 4.938 kB / 451.7 MB, free: 2.594 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.351e-05/0.004103, allocations: 113.7 kB / 451.8 MB, free: 2.457 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.002e-05/0.004113, allocations: 2.375 kB / 451.8 MB, free: 2.457 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.073e-06/0.00412, allocations: 4.375 kB / 451.8 MB, free: 2.453 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.247e-05/0.004192, allocations: 38.25 kB / 451.9 MB, free: 2.41 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.013e-06/0.004199, allocations: 192 / 451.9 MB, free: 2.41 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.162e-06/0.004205, allocations: 2.109 kB / 451.9 MB, free: 2.41 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.004211, allocations: 4.375 kB / 451.9 MB, free: 2.406 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.343e-05/0.004235, allocations: 9 kB / 451.9 MB, free: 2.398 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000204/0.004439, allocations: 148.3 kB / 452 MB, free: 2.238 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001514/0.00459, allocations: 43.11 kB / 452.1 MB, free: 2.188 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.636e-05/0.004606, allocations: 16.19 kB / 452.1 MB, free: 2.172 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.861e-05/0.004625, allocations: 4 kB / 452.1 MB, free: 2.168 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.257e-05/0.004648, allocations: 34.62 kB / 452.1 MB, free: 2.125 MB / 426.7 MB Notification: Performance of pre-optimization done (n=4): time 1.393e-06/0.004649, allocations: 3.938 kB / 452.1 MB, free: 2.121 MB / 426.7 MB Notification: Performance of matching and sorting (n=4): time 9.863e-05/0.004748, allocations: 42.25 kB / 452.2 MB, free: 2.074 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.084e-05/0.004778, allocations: 59.34 kB / 452.2 MB, free: 2.004 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.177e-05/0.00483, allocations: 111.8 kB / 452.3 MB, free: 1.883 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.03e-05/0.00484, allocations: 25.7 kB / 452.4 MB, free: 1.852 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.587e-05/0.004876, allocations: 89.02 kB / 452.4 MB, free: 1.762 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.075e-06/0.004884, allocations: 11.91 kB / 452.5 MB, free: 1.75 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.105e-05/0.004905, allocations: 13.72 kB / 452.5 MB, free: 1.73 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001119/0.005017, allocations: 324.7 kB / 452.8 MB, free: 1.406 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.769e-06/0.005027, allocations: 4 kB / 452.8 MB, free: 1.402 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.796e-05/0.005045, allocations: 17.7 kB / 452.8 MB, free: 1.379 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.086e-05/0.005076, allocations: 21.83 kB / 452.8 MB, free: 1.352 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.005079, allocations: 4.906 kB / 452.8 MB, free: 1.348 MB / 426.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 5.455e-05/0.005133, allocations: 54.62 kB / 452.9 MB, free: 1.289 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.053e-05/0.005144, allocations: 4 kB / 452.9 MB, free: 1.285 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.005149, allocations: 0 / 452.9 MB, free: 1.285 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.898e-06/0.005159, allocations: 4.5 kB / 452.9 MB, free: 1.281 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.998e-05/0.005199, allocations: 13.25 kB / 452.9 MB, free: 1.27 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.676e-06/0.005201, allocations: 0 / 452.9 MB, free: 1.27 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.39e-05/0.005215, allocations: 0 / 452.9 MB, free: 1.27 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.855e-06/0.005218, allocations: 0 / 452.9 MB, free: 1.27 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 4.928e-05/0.005267, allocations: 118.4 kB / 453 MB, free: 1.145 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.363e-05/0.005281, allocations: 6.578 kB / 453 MB, free: 1.141 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.157e-05/0.005363, allocations: 53.36 kB / 453.1 MB, free: 1.082 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.005364, allocations: 0 / 453.1 MB, free: 1.082 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.397e-06/0.005368, allocations: 5 kB / 453.1 MB, free: 1.078 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.00537, allocations: 0 / 453.1 MB, free: 1.078 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.236e-05/0.005453, allocations: 81.77 kB / 453.2 MB, free: 0.9805 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.005454, allocations: 1.156 kB / 453.2 MB, free: 0.9805 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.902e-05/0.005473, allocations: 4 kB / 453.2 MB, free: 0.9766 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.111e-06/0.005479, allocations: 4 kB / 453.2 MB, free: 0.9727 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.392e-06/0.00548, allocations: 0.7188 kB / 453.2 MB, free: 0.9727 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.577e-06/0.005484, allocations: 0 / 453.2 MB, free: 0.9727 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.005485, allocations: 5.406 kB / 453.2 MB, free: 0.9688 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.005488, allocations: 3.938 kB / 453.2 MB, free: 0.9648 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.795e-05/0.005555, allocations: 140.8 kB / 453.3 MB, free: 0.8125 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.504e-06/0.005563, allocations: 3.938 kB / 453.3 MB, free: 0.8086 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.498e-05/0.005588, allocations: 5.531 kB / 453.3 MB, free: 0.8047 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.418e-06/0.005597, allocations: 0 / 453.3 MB, free: 0.8047 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.292e-06/0.005599, allocations: 0 / 453.3 MB, free: 0.8047 MB / 426.7 MB Notification: Performance of sorting global known variables: time 9.368e-06/0.005608, allocations: 12.8 kB / 453.3 MB, free: 0.7891 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005608, allocations: 0.6875 kB / 453.3 MB, free: 0.7891 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001416/0.00575, allocations: 23.92 kB / 453.4 MB, free: 0.7656 MB / 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.0001238/0.005874, allocations: 101.3 kB / 453.5 MB, free: 0.6562 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 6.126e-05/0.005935, allocations: 30.97 kB / 453.5 MB, free: 0.625 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.149e-06/0.00594, allocations: 4 kB / 453.5 MB, free: 0.6211 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.166e-06/0.005948, allocations: 8.859 kB / 453.5 MB, free: 0.6094 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001019/0.00605, allocations: 4.719 kB / 453.5 MB, free: 0.6055 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004384/0.006488, allocations: 125.3 kB / 453.6 MB, free: 472 kB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.007e-05/0.006518, allocations: 53.77 kB / 453.7 MB, free: 400 kB / 426.7 MB Notification: Performance of simCode: alias equations: time 2.576e-05/0.006544, allocations: 5.844 kB / 453.7 MB, free: 396 kB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.131e-05/0.006576, allocations: 52 kB / 453.8 MB, free: 344 kB / 426.7 MB Notification: Performance of SimCode: time 1.132e-06/0.006577, allocations: 0 / 453.8 MB, free: 344 kB / 426.7 MB Notification: Performance of Templates: time 0.002063/0.00864, allocations: 0.592 MB / 454.3 MB, free: 15.79 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & ./IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.54346358589828]