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.001468/0.001468, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.001768/0.001768, allocations: 169 kB / 23.27 MB, free: 1.223 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.021/1.021, allocations: 177.1 MB / 203.7 MB, free: 5.52 MB / 186.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.7877/0.7877, allocations: 154.6 MB / 414.8 MB, free: 0.543 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 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 2.645e-06/2.645e-06, allocations: 3.938 kB / 0.5208 GB, free: 1.926 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.544e-05/3.808e-05, allocations: 4.906 kB / 0.5208 GB, free: 1.922 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.003196/0.003234, allocations: 1.318 MB / 0.5221 GB, free: 0.6133 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001457/0.004692, allocations: 0.5544 MB / 0.5226 GB, free: 64 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.233e-05/0.004734, allocations: 4.938 kB / 0.5226 GB, free: 60 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.749e-05/0.004762, allocations: 0 / 0.5226 GB, free: 60 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 6.245e-05/0.004824, allocations: 7.875 kB / 0.5226 GB, free: 52 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006435/0.005467, allocations: 140.8 kB / 0.5228 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 7.291e-05/0.00554, allocations: 28.91 kB / 0.5228 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 5.512e-05/0.005595, allocations: 0 / 0.5228 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 4.598e-05/0.005641, allocations: 11.98 kB / 0.5228 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 6.218e-05/0.005704, allocations: 4.75 kB / 0.5228 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.611e-05/0.00572, allocations: 4 kB / 0.5228 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004693/0.006189, allocations: 273 kB / 0.5231 GB, free: 15.6 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 1.893e-05/0.006208, allocations: 3.984 kB / 0.5231 GB, free: 15.6 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 2.329e-05/0.006231, allocations: 7.938 kB / 0.5231 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002862/0.006517, allocations: 151.5 kB / 0.5232 GB, free: 15.44 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.006522, allocations: 5.594 kB / 0.5232 GB, free: 15.44 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.392e-06/0.006523, allocations: 4 kB / 0.5232 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.989e-06/0.006528, allocations: 0 / 0.5232 GB, free: 15.43 MB / 0.4948 GB 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.0004438/0.006972, allocations: 384 kB / 0.5236 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.024e-05/0.007022, allocations: 8.781 kB / 0.5236 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.93e-05/0.007061, allocations: 9.234 kB / 0.5236 GB, free: 15 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.868e-05/0.00716, allocations: 109.9 kB / 0.5237 GB, free: 14.87 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.457e-05/0.007175, allocations: 4.375 kB / 0.5237 GB, free: 14.87 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.146e-05/0.007186, allocations: 8.359 kB / 0.5237 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.71e-05/0.007273, allocations: 35.45 kB / 0.5238 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/0.007283, allocations: 4.172 kB / 0.5238 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.832e-06/0.00729, allocations: 4.375 kB / 0.5238 GB, free: 14.81 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.007296, allocations: 384 / 0.5238 GB, free: 14.81 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.897e-05/0.007325, allocations: 14.19 kB / 0.5238 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003854/0.00771, allocations: 236.4 kB / 0.524 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002274/0.007938, allocations: 55.09 kB / 0.5241 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.094e-05/0.007969, allocations: 15.69 kB / 0.5241 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.758e-05/0.008006, allocations: 1.75 kB / 0.5241 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.513e-05/0.008041, allocations: 37.39 kB / 0.5241 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=4): time 2.685e-06/0.008044, allocations: 4 kB / 0.5241 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of matching and sorting (n=4): time 0.0001822/0.008226, allocations: 49.62 kB / 0.5242 GB, free: 14.35 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.318e-05/0.008269, allocations: 55.41 kB / 0.5242 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001072/0.008377, allocations: 158.5 kB / 0.5244 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 6.443e-05/0.008441, allocations: 26.61 kB / 0.5244 GB, free: 14.08 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 8.289e-05/0.008524, allocations: 142.7 kB / 0.5245 GB, free: 13.94 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.331e-05/0.008537, allocations: 12.97 kB / 0.5245 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.741e-05/0.008585, allocations: 27.36 kB / 0.5246 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001466/0.008731, allocations: 496.1 kB / 0.525 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.532e-05/0.008757, allocations: 4.812 kB / 0.525 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.283e-05/0.008789, allocations: 23.36 kB / 0.5251 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.765e-05/0.008837, allocations: 32.19 kB / 0.5251 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.938e-06/0.008841, allocations: 0 / 0.5251 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001065/0.008947, allocations: 58.78 kB / 0.5252 GB, free: 13.26 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.008965, allocations: 4 kB / 0.5252 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.008972, allocations: 2.906 kB / 0.5252 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.76e-05/0.00899, allocations: 3.938 kB / 0.5252 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.701e-05/0.009057, allocations: 8 kB / 0.5252 GB, free: 13.24 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.009062, allocations: 0 / 0.5252 GB, free: 13.24 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.371e-05/0.009086, allocations: 7.984 kB / 0.5252 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.982e-06/0.009092, allocations: 432 / 0.5252 GB, free: 13.23 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 8.883e-05/0.00918, allocations: 164.5 kB / 0.5253 GB, free: 13.06 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.537e-05/0.009196, allocations: 3.953 kB / 0.5253 GB, free: 13.06 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001255/0.009321, allocations: 60.38 kB / 0.5254 GB, free: 13 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.561e-06/0.009327, allocations: 7.938 kB / 0.5254 GB, free: 12.99 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.084e-06/0.009329, allocations: 0 / 0.5254 GB, free: 12.99 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.009333, allocations: 0 / 0.5254 GB, free: 12.99 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001136/0.009446, allocations: 109.2 kB / 0.5255 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.009448, allocations: 0 / 0.5255 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.401e-05/0.009472, allocations: 4 kB / 0.5255 GB, free: 12.85 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.009474, allocations: 5.5 kB / 0.5255 GB, free: 12.85 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.008e-06/0.009478, allocations: 0 / 0.5255 GB, free: 12.85 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.009479, allocations: 0 / 0.5255 GB, free: 12.85 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.00948, allocations: 0 / 0.5255 GB, free: 12.85 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001035/0.009583, allocations: 202.9 kB / 0.5257 GB, free: 12.63 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.047e-05/0.009594, allocations: 7.938 kB / 0.5257 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.075e-06/0.009602, allocations: 0 / 0.5257 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.974e-05/0.009652, allocations: 4 kB / 0.5257 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.161e-05/0.009663, allocations: 0 / 0.5257 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.347e-06/0.009667, allocations: 4.062 kB / 0.5257 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.988e-05/0.009706, allocations: 127.2 kB / 0.5258 GB, free: 12.49 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.009706, allocations: 0 / 0.5258 GB, free: 12.49 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001786/0.009885, allocations: 19.92 kB / 0.5259 GB, free: 12.47 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.000167/0.01005, allocations: 121.5 kB / 0.526 GB, free: 12.35 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 7.808e-05/0.01013, allocations: 35.59 kB / 0.526 GB, free: 12.31 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.01013, allocations: 3.938 kB / 0.526 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.047e-05/0.01014, allocations: 11.69 kB / 0.526 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000159/0.0103, allocations: 9.281 kB / 0.526 GB, free: 12.28 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002693/0.01057, allocations: 122.3 kB / 0.5262 GB, free: 12.13 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.09e-05/0.01061, allocations: 65.06 kB / 0.5262 GB, free: 12.05 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.797e-05/0.01064, allocations: 2.438 kB / 0.5262 GB, free: 12.05 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.096e-05/0.01068, allocations: 70.2 kB / 0.5263 GB, free: 11.98 MB / 0.4948 GB Notification: Performance of SimCode: time 9.02e-07/0.01068, allocations: 0 / 0.5263 GB, free: 11.98 MB / 0.4948 GB Notification: Performance of Templates: time 0.002278/0.01296, allocations: 0.5834 MB / 0.5269 GB, free: 11.43 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: 3.6120599871501327]