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.0008408/0.0008408, allocations: 93.06 kB / 19.65 MB, free: 280 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.0009217/0.0009217, allocations: 173 kB / 23.03 MB, free: 1.543 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.006/1.006, allocations: 177.1 MB / 203.4 MB, free: 5.625 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.8043/0.8043, allocations: 154.6 MB / 414.5 MB, free: 0.6562 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 1.352e-06/1.352e-06, allocations: 0 / 0.5203 GB, free: 2.215 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.772e-05/1.908e-05, allocations: 6.141 kB / 0.5203 GB, free: 2.211 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.001588/0.001607, allocations: 1.321 MB / 0.5216 GB, free: 0.8984 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007486/0.002356, allocations: 0.563 MB / 0.5222 GB, free: 348 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.553e-05/0.002381, allocations: 0.9688 kB / 0.5222 GB, free: 348 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.223e-05/0.002403, allocations: 0 / 0.5222 GB, free: 348 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 5.103e-05/0.002454, allocations: 7.922 kB / 0.5222 GB, free: 340 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004533/0.002908, allocations: 153.3 kB / 0.5223 GB, free: 188 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 6.007e-05/0.002968, allocations: 15.88 kB / 0.5223 GB, free: 172 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.654e-05/0.003004, allocations: 0 / 0.5223 GB, free: 172 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.378e-05/0.003038, allocations: 20.78 kB / 0.5224 GB, free: 152 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.794e-05/0.003086, allocations: 7.984 kB / 0.5224 GB, free: 144 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.472e-05/0.003101, allocations: 0.7812 kB / 0.5224 GB, free: 144 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000311/0.003412, allocations: 263.4 kB / 0.5226 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 1.602e-05/0.003428, allocations: 8.922 kB / 0.5226 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 2.108e-05/0.003449, allocations: 11.88 kB / 0.5226 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001992/0.003648, allocations: 151.5 kB / 0.5228 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.314e-06/0.00365, allocations: 1.438 kB / 0.5228 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of FrontEnd: time 9.12e-07/0.003651, allocations: 0 / 0.5228 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.238e-06/0.003656, allocations: 3.938 kB / 0.5228 GB, free: 15.71 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.0003524/0.004008, allocations: 384.8 kB / 0.5232 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.547e-05/0.004043, allocations: 8.031 kB / 0.5232 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.795e-05/0.004081, allocations: 14.02 kB / 0.5232 GB, free: 15.28 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.718e-05/0.004159, allocations: 104.6 kB / 0.5233 GB, free: 15.15 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.136e-05/0.00417, allocations: 7.469 kB / 0.5233 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.085e-06/0.004178, allocations: 4.359 kB / 0.5233 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.184e-05/0.00426, allocations: 42.25 kB / 0.5233 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.004268, allocations: 192 / 0.5233 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.036e-05/0.004278, allocations: 384 / 0.5233 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.343e-06/0.004285, allocations: 384 / 0.5233 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.347e-05/0.004319, allocations: 19.86 kB / 0.5233 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002601/0.004579, allocations: 255.9 kB / 0.5236 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001626/0.004742, allocations: 48.39 kB / 0.5236 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.577e-05/0.004767, allocations: 19.67 kB / 0.5237 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.452e-05/0.004782, allocations: 0.8125 kB / 0.5237 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.139e-05/0.004803, allocations: 41.39 kB / 0.5237 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=4): time 7.92e-07/0.004804, allocations: 0.9688 kB / 0.5237 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of matching and sorting (n=4): time 0.000129/0.004933, allocations: 61.56 kB / 0.5238 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.666e-05/0.00496, allocations: 51.41 kB / 0.5238 GB, free: 14.53 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.499e-05/0.005025, allocations: 158.7 kB / 0.524 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 9.187e-06/0.005034, allocations: 25.7 kB / 0.524 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.541e-05/0.005079, allocations: 139.7 kB / 0.5241 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.042e-05/0.00509, allocations: 11.91 kB / 0.5241 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.522e-05/0.005115, allocations: 23.88 kB / 0.5241 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001008/0.005216, allocations: 497.1 kB / 0.5246 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.218e-05/0.005228, allocations: 4 kB / 0.5246 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.439e-05/0.005252, allocations: 27.38 kB / 0.5246 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.632e-05/0.005289, allocations: 36.52 kB / 0.5247 GB, free: 13.56 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.00529, allocations: 0 / 0.5247 GB, free: 13.56 MB / 0.4948 GB Notification: Performance of matching and sorting (n=5) (initialization): time 5.946e-05/0.00535, allocations: 62.19 kB / 0.5247 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.062e-05/0.00536, allocations: 4 kB / 0.5247 GB, free: 13.49 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.159e-06/0.005366, allocations: 5.531 kB / 0.5248 GB, free: 13.49 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.005378, allocations: 4 kB / 0.5248 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.042e-05/0.005409, allocations: 8 kB / 0.5248 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.358e-06/0.005413, allocations: 0 / 0.5248 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.354e-05/0.005427, allocations: 0.9688 kB / 0.5248 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.03e-06/0.005432, allocations: 4 kB / 0.5248 GB, free: 13.47 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 5.808e-05/0.00549, allocations: 157.5 kB / 0.5249 GB, free: 13.31 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.287e-05/0.005503, allocations: 8.375 kB / 0.5249 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.881e-05/0.005601, allocations: 76.64 kB / 0.525 GB, free: 13.22 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.005603, allocations: 0 / 0.525 GB, free: 13.22 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.005606, allocations: 0 / 0.525 GB, free: 13.22 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.666e-06/0.00561, allocations: 4 kB / 0.525 GB, free: 13.22 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.142e-05/0.005701, allocations: 124.5 kB / 0.5251 GB, free: 13.06 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.51e-07/0.005702, allocations: 0 / 0.5251 GB, free: 13.06 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.606e-05/0.005718, allocations: 4 kB / 0.5251 GB, free: 13.06 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.103e-06/0.005719, allocations: 0 / 0.5251 GB, free: 13.06 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.863e-06/0.005726, allocations: 4 kB / 0.5251 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.005729, allocations: 6.812 kB / 0.5251 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.00573, allocations: 0 / 0.5251 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.577e-05/0.005816, allocations: 195.9 kB / 0.5253 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.212e-06/0.005822, allocations: 3.953 kB / 0.5253 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.357e-06/0.005831, allocations: 4 kB / 0.5253 GB, free: 12.83 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.553e-05/0.005857, allocations: 7.938 kB / 0.5253 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.691e-05/0.005874, allocations: 3.984 kB / 0.5253 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.036e-06/0.005877, allocations: 4.125 kB / 0.5253 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 2.921e-05/0.005906, allocations: 124.8 kB / 0.5255 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.005906, allocations: 0 / 0.5255 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.000156/0.006062, allocations: 15.94 kB / 0.5255 GB, free: 12.68 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.000121/0.006183, allocations: 124.4 kB / 0.5256 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 7.744e-05/0.00626, allocations: 27.67 kB / 0.5256 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.222e-06/0.006262, allocations: 2.75 kB / 0.5256 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.281e-05/0.006274, allocations: 19.62 kB / 0.5256 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001421/0.006417, allocations: 7.938 kB / 0.5257 GB, free: 12.49 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002342/0.006651, allocations: 126.3 kB / 0.5258 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.109e-05/0.006682, allocations: 55.34 kB / 0.5258 GB, free: 12.26 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.339e-05/0.006705, allocations: 6.344 kB / 0.5258 GB, free: 12.26 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.744e-05/0.006723, allocations: 8.5 kB / 0.5258 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of SimCode: time 3.71e-07/0.006723, allocations: 0 / 0.5258 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of Templates: time 0.002285/0.009008, allocations: 0.5706 MB / 0.5264 GB, free: 11.72 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.8183335410431027]