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.001996/0.001996, allocations: 93.47 kB / 19.44 MB, free: 336 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.002426/0.002426, allocations: 169.2 kB / 22.76 MB, free: 1.664 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.531/1.531, allocations: 177.2 MB / 203.1 MB, free: 5.559 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.345/1.345, 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.473e-06/1.473e-06, allocations: 0 / 0.5196 GB, free: 2.535 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.814e-05/2.962e-05, allocations: 4.562 kB / 0.5196 GB, free: 2.531 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.002477/0.002507, allocations: 1.309 MB / 0.5209 GB, free: 1.23 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001324/0.003831, allocations: 0.5484 MB / 0.5214 GB, free: 0.6836 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.065e-05/0.003862, allocations: 0 / 0.5214 GB, free: 0.6836 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.09e-05/0.003883, allocations: 3.938 kB / 0.5214 GB, free: 0.6797 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 7.548e-05/0.003958, allocations: 12.47 kB / 0.5215 GB, free: 0.668 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006376/0.004596, allocations: 140.8 kB / 0.5216 GB, free: 0.5312 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 7.232e-05/0.004668, allocations: 19.94 kB / 0.5216 GB, free: 0.5117 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.058e-05/0.004719, allocations: 5.016 kB / 0.5216 GB, free: 0.5078 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.612e-05/0.004785, allocations: 15.92 kB / 0.5216 GB, free: 0.4922 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.406e-05/0.004869, allocations: 11.98 kB / 0.5216 GB, free: 492 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.869e-05/0.004888, allocations: 1.219 kB / 0.5216 GB, free: 492 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005216/0.005409, allocations: 267.4 kB / 0.5219 GB, free: 224 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.136e-05/0.005431, allocations: 8 kB / 0.5219 GB, free: 216 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.506e-05/0.005456, allocations: 4.625 kB / 0.5219 GB, free: 212 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003166/0.005772, allocations: 159.4 kB / 0.5221 GB, free: 52 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.005775, allocations: 1.625 kB / 0.5221 GB, free: 52 kB / 490.7 MB Notification: Performance of FrontEnd: time 8.42e-07/0.005776, allocations: 0 / 0.5221 GB, free: 52 kB / 490.7 MB Notification: Performance of Transformations before backend: time 4.859e-06/0.005781, allocations: 0 / 0.5221 GB, free: 52 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.0005858/0.006366, allocations: 384.1 kB / 0.5224 GB, free: 15.63 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.179e-05/0.006408, allocations: 9.188 kB / 0.5224 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.618e-05/0.006454, allocations: 4.938 kB / 0.5224 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001307/0.006585, allocations: 116.5 kB / 0.5226 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.504e-05/0.0066, allocations: 5.188 kB / 0.5226 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.819e-06/0.00661, allocations: 384 / 0.5226 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001178/0.006728, allocations: 43.47 kB / 0.5226 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.006738, allocations: 192 / 0.5226 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.917e-06/0.006747, allocations: 384 / 0.5226 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.997e-06/0.006751, allocations: 5.031 kB / 0.5226 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.387e-05/0.006814, allocations: 23.92 kB / 0.5226 GB, free: 15.4 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003968/0.007211, allocations: 248.5 kB / 0.5229 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002252/0.007436, allocations: 60.05 kB / 0.5229 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.326e-05/0.00748, allocations: 19.67 kB / 0.5229 GB, free: 15.03 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.141e-05/0.007501, allocations: 4.625 kB / 0.5229 GB, free: 15.03 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.824e-05/0.007529, allocations: 33.39 kB / 0.523 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=4): time 9.22e-07/0.00753, allocations: 0.75 kB / 0.523 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of matching and sorting (n=4): time 0.0002034/0.007734, allocations: 61.62 kB / 0.523 GB, free: 14.92 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.966e-05/0.007783, allocations: 58.53 kB / 0.5231 GB, free: 14.85 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001238/0.007907, allocations: 158.2 kB / 0.5232 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.828e-05/0.007925, allocations: 25.7 kB / 0.5233 GB, free: 14.65 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 9.851e-05/0.008024, allocations: 138.8 kB / 0.5234 GB, free: 14.51 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.484e-05/0.008039, allocations: 11.84 kB / 0.5234 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.656e-05/0.008085, allocations: 23.38 kB / 0.5234 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002609/0.008346, allocations: 0.4884 MB / 0.5239 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.1e-05/0.008367, allocations: 4 kB / 0.5239 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.022e-05/0.008407, allocations: 24.41 kB / 0.5239 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.714e-05/0.008475, allocations: 43.39 kB / 0.524 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.502e-06/0.008476, allocations: 4.531 kB / 0.524 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001047/0.008581, allocations: 62.56 kB / 0.524 GB, free: 13.81 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.008598, allocations: 4 kB / 0.524 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.255e-06/0.008607, allocations: 5.531 kB / 0.5241 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.008621, allocations: 0 / 0.5241 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.093e-05/0.008672, allocations: 8 kB / 0.5241 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.725e-06/0.00868, allocations: 3.938 kB / 0.5241 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.448e-05/0.008705, allocations: 4.969 kB / 0.5241 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.849e-06/0.008709, allocations: 0 / 0.5241 GB, free: 13.79 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.0001178/0.008827, allocations: 162.1 kB / 0.5242 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.721e-05/0.008854, allocations: 7.938 kB / 0.5242 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001615/0.009016, allocations: 61.31 kB / 0.5243 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.009018, allocations: 2.75 kB / 0.5243 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.009021, allocations: 0 / 0.5243 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.149e-06/0.009026, allocations: 4 kB / 0.5243 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001564/0.009182, allocations: 116.6 kB / 0.5244 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.009183, allocations: 0 / 0.5244 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.52e-05/0.009218, allocations: 7.938 kB / 0.5244 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.382e-06/0.00922, allocations: 0 / 0.5244 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.752e-06/0.009227, allocations: 7.938 kB / 0.5244 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.00923, allocations: 6.094 kB / 0.5244 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.009231, allocations: 0 / 0.5244 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001835/0.009414, allocations: 195.9 kB / 0.5246 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.216e-06/0.009422, allocations: 4 kB / 0.5246 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.084e-05/0.009433, allocations: 0 / 0.5246 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.134e-05/0.009485, allocations: 7.922 kB / 0.5246 GB, free: 13.15 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.177e-05/0.009506, allocations: 4.906 kB / 0.5246 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.896e-06/0.009509, allocations: 0 / 0.5246 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 7.092e-05/0.00958, allocations: 123.9 kB / 0.5247 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.00958, allocations: 0 / 0.5247 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002506/0.009831, allocations: 24.53 kB / 0.5248 GB, free: 13 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.0002088/0.01004, allocations: 122.5 kB / 0.5249 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001216/0.01016, allocations: 35.61 kB / 0.5249 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.01016, allocations: 0 / 0.5249 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.915e-05/0.01019, allocations: 16.06 kB / 0.5249 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002086/0.0104, allocations: 9.547 kB / 0.5249 GB, free: 12.81 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003398/0.01074, allocations: 130.1 kB / 0.5251 GB, free: 12.65 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.184e-05/0.01082, allocations: 66.47 kB / 0.5251 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.916e-05/0.01085, allocations: 3.984 kB / 0.5251 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.966e-05/0.01088, allocations: 12.5 kB / 0.5251 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of SimCode: time 5.11e-07/0.01088, allocations: 0 / 0.5251 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of Templates: time 0.003272/0.01415, allocations: 0.522 MB / 0.5257 GB, free: 12.07 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=240 -lv LOG_STATS > IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.962185544078238]