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.001386/0.001386, allocations: 92.7 kB / 19.44 MB, free: 320 kB / 13.93 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.001618/0.001618, allocations: 165.3 kB / 22.76 MB, free: 1.648 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 1.449/1.449, allocations: 177.1 MB / 203.1 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] 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 1.335/1.335, allocations: 154.6 MB / 414.1 MB, free: 0.6367 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. " [Timeout remaining time 178] 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.874e-06/1.874e-06, allocations: 0 / 0.5196 GB, free: 2.559 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.761e-05/2.949e-05, allocations: 2.312 kB / 0.5196 GB, free: 2.555 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.002812/0.002841, allocations: 1.297 MB / 0.5209 GB, free: 1.27 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.00121/0.004051, allocations: 0.5238 MB / 0.5214 GB, free: 0.7461 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.978e-05/0.00408, allocations: 1.406 kB / 0.5214 GB, free: 0.7461 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.141e-05/0.004112, allocations: 7.938 kB / 0.5214 GB, free: 0.7383 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 5.566e-05/0.004168, allocations: 0 / 0.5214 GB, free: 0.7383 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006835/0.004851, allocations: 144.5 kB / 0.5215 GB, free: 0.5977 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 7.97e-05/0.004931, allocations: 29.77 kB / 0.5216 GB, free: 0.5703 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.697e-05/0.004978, allocations: 4 kB / 0.5216 GB, free: 0.5664 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.091e-05/0.005019, allocations: 7.984 kB / 0.5216 GB, free: 0.5586 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.501e-05/0.005084, allocations: 4 kB / 0.5216 GB, free: 0.5547 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.76e-05/0.005101, allocations: 4 kB / 0.5216 GB, free: 0.5508 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005413/0.005643, allocations: 273.4 kB / 0.5219 GB, free: 292 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.473e-05/0.005657, allocations: 0 / 0.5219 GB, free: 292 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 3.068e-05/0.005688, allocations: 8 kB / 0.5219 GB, free: 284 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003238/0.006012, allocations: 155.5 kB / 0.522 GB, free: 128 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.006015, allocations: 0 / 0.522 GB, free: 128 kB / 490.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.006016, allocations: 0 / 0.522 GB, free: 128 kB / 490.7 MB Notification: Performance of Transformations before backend: time 4.949e-06/0.006021, allocations: 0.5625 kB / 0.522 GB, free: 128 kB / 490.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.0005472/0.006568, allocations: 283 kB / 0.5223 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.423e-05/0.006612, allocations: 12.03 kB / 0.5223 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.296e-05/0.006655, allocations: 0.9375 kB / 0.5223 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000132/0.006787, allocations: 122.4 kB / 0.5224 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.791e-05/0.006805, allocations: 5.469 kB / 0.5224 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.38e-05/0.006819, allocations: 8.359 kB / 0.5224 GB, free: 15.65 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001165/0.006935, allocations: 34.27 kB / 0.5225 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.006944, allocations: 1.219 kB / 0.5225 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.177e-06/0.006953, allocations: 4.375 kB / 0.5225 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.006958, allocations: 384 / 0.5225 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.629e-05/0.007025, allocations: 21.45 kB / 0.5225 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003736/0.007398, allocations: 196.6 kB / 0.5227 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002262/0.007624, allocations: 46.62 kB / 0.5227 GB, free: 15.31 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.097e-05/0.007665, allocations: 13.89 kB / 0.5227 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.506e-05/0.00769, allocations: 4 kB / 0.5227 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.618e-05/0.007727, allocations: 35.25 kB / 0.5228 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.007728, allocations: 0 / 0.5228 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of matching and sorting (n=4): time 0.0002109/0.007939, allocations: 62.84 kB / 0.5228 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.351e-05/0.007992, allocations: 55.41 kB / 0.5229 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001051/0.008097, allocations: 102 kB / 0.523 GB, free: 15 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.157e-05/0.008129, allocations: 25.7 kB / 0.523 GB, free: 14.97 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.757e-05/0.008196, allocations: 84.91 kB / 0.5231 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.168e-05/0.008218, allocations: 19.84 kB / 0.5231 GB, free: 14.87 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.824e-05/0.008266, allocations: 22.48 kB / 0.5231 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.00018/0.008446, allocations: 310.8 kB / 0.5234 GB, free: 14.53 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.296e-05/0.008469, allocations: 4.719 kB / 0.5234 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.467e-05/0.008514, allocations: 25.7 kB / 0.5234 GB, free: 14.49 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.022e-05/0.008584, allocations: 34.62 kB / 0.5235 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.008589, allocations: 6.25 kB / 0.5235 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001223/0.008711, allocations: 57.69 kB / 0.5235 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.008727, allocations: 4 kB / 0.5235 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.737e-06/0.008736, allocations: 3.938 kB / 0.5235 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.284e-05/0.008759, allocations: 4 kB / 0.5235 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.591e-05/0.008815, allocations: 8.938 kB / 0.5236 GB, free: 14.37 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.015e-05/0.008825, allocations: 4 kB / 0.5236 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.843e-05/0.008853, allocations: 3.984 kB / 0.5236 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.102e-06/0.008859, allocations: 1.5 kB / 0.5236 GB, free: 14.36 MB / 0.4948 GB 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 0.0001014/0.008961, allocations: 109.8 kB / 0.5237 GB, free: 14.24 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.986e-05/0.00899, allocations: 7.953 kB / 0.5237 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001724/0.009163, allocations: 65.88 kB / 0.5237 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.009165, allocations: 0.9062 kB / 0.5237 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.009169, allocations: 4 kB / 0.5237 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.009172, allocations: 0 / 0.5237 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000162/0.009334, allocations: 105.9 kB / 0.5238 GB, free: 14.03 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.009336, allocations: 0.6562 kB / 0.5238 GB, free: 14.03 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.876e-05/0.009375, allocations: 7.938 kB / 0.5239 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.009377, allocations: 4.625 kB / 0.5239 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.693e-06/0.009384, allocations: 0 / 0.5239 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.422e-06/0.00939, allocations: 4.438 kB / 0.5239 GB, free: 14.01 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.009391, allocations: 2.906 kB / 0.5239 GB, free: 14.01 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001727/0.009564, allocations: 147.5 kB / 0.524 GB, free: 13.85 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.076e-05/0.009574, allocations: 4 kB / 0.524 GB, free: 13.85 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.126e-05/0.009586, allocations: 0 / 0.524 GB, free: 13.85 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.454e-05/0.00964, allocations: 3.938 kB / 0.524 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.016e-05/0.00966, allocations: 4 kB / 0.524 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.976e-06/0.009663, allocations: 0 / 0.524 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 5.895e-05/0.009722, allocations: 87.27 kB / 0.5241 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8e-08/0.009722, allocations: 2.438 kB / 0.5241 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002732/0.009996, allocations: 19.88 kB / 0.5241 GB, free: 13.73 MB / 0.4948 GB 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.0002255/0.01022, allocations: 119.1 kB / 0.5242 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0003852/0.01061, allocations: 24.45 kB / 0.5243 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.01061, allocations: 1.438 kB / 0.5243 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.667e-05/0.01064, allocations: 15.94 kB / 0.5243 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002235/0.01086, allocations: 0 / 0.5243 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003805/0.01124, allocations: 124.7 kB / 0.5244 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.202e-05/0.01131, allocations: 59.34 kB / 0.5245 GB, free: 13.35 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.54e-05/0.01135, allocations: 12.3 kB / 0.5245 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.113e-05/0.01138, allocations: 8.5 kB / 0.5245 GB, free: 13.33 MB / 0.4948 GB Notification: Performance of SimCode: time 6.11e-07/0.01138, allocations: 0 / 0.5245 GB, free: 13.33 MB / 0.4948 GB Notification: Performance of Templates: time 0.003193/0.01457, allocations: 0.5292 MB / 0.525 GB, free: 12.84 MB / 0.4948 GB " [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=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.897249678033404]