Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.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.001334/0.001334, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001437/0.001437, allocations: 173 kB / 23.49 MB, free: 1.059 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.124/1.124, allocations: 177.1 MB / 203.8 MB, free: 5.629 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.7924/0.7924, allocations: 154.6 MB / 414.9 MB, free: 0.6836 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.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.402e-06/1.402e-06, allocations: 0 / 0.5203 GB, free: 2.535 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.086e-05/2.226e-05, allocations: 2.969 kB / 0.5203 GB, free: 2.531 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.001804/0.001826, allocations: 1.299 MB / 0.5216 GB, free: 1.238 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007511/0.002577, allocations: 0.5477 MB / 0.5221 GB, free: 0.6914 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.598e-05/0.002603, allocations: 0 / 0.5221 GB, free: 0.6914 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 1.832e-05/0.002621, allocations: 4.562 kB / 0.5221 GB, free: 0.6875 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 4.408e-05/0.002665, allocations: 0.7812 kB / 0.5221 GB, free: 0.6875 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004969/0.003162, allocations: 148 kB / 0.5223 GB, free: 0.543 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 5.515e-05/0.003217, allocations: 10.41 kB / 0.5223 GB, free: 0.5352 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.932e-05/0.003257, allocations: 0 / 0.5223 GB, free: 0.5352 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.069e-05/0.003287, allocations: 7.984 kB / 0.5223 GB, free: 0.5273 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.189e-05/0.003329, allocations: 4 kB / 0.5223 GB, free: 0.5234 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.363e-05/0.003343, allocations: 0 / 0.5223 GB, free: 0.5234 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003158/0.003659, allocations: 267.4 kB / 0.5226 GB, free: 268 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.545e-05/0.003674, allocations: 3.984 kB / 0.5226 GB, free: 264 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.824e-05/0.003692, allocations: 8.719 kB / 0.5226 GB, free: 256 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002044/0.003897, allocations: 151.5 kB / 0.5227 GB, free: 104 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.003899, allocations: 1.25 kB / 0.5227 GB, free: 104 kB / 490.7 MB Notification: Performance of FrontEnd: time 9.71e-07/0.0039, allocations: 0 / 0.5227 GB, free: 104 kB / 490.7 MB Notification: Performance of Transformations before backend: time 4.518e-06/0.003905, allocations: 0 / 0.5227 GB, free: 104 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003395/0.004244, allocations: 372.5 kB / 0.5231 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.823e-05/0.004283, allocations: 8.719 kB / 0.5231 GB, free: 15.69 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.507e-05/0.004318, allocations: 0.9375 kB / 0.5231 GB, free: 15.69 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.721e-05/0.004405, allocations: 114 kB / 0.5232 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.033e-05/0.004415, allocations: 384 / 0.5232 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.335e-06/0.004424, allocations: 384 / 0.5232 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.665e-05/0.0045, allocations: 35.22 kB / 0.5232 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.869e-06/0.004505, allocations: 192 / 0.5232 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.166e-06/0.004513, allocations: 0.875 kB / 0.5232 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.00452, allocations: 1.281 kB / 0.5232 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.869e-05/0.004538, allocations: 11.88 kB / 0.5232 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001161/0.004654, allocations: 121.4 kB / 0.5234 GB, free: 15.35 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 4.356e-05/0.004698, allocations: 35.08 kB / 0.5234 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.746e-05/0.004715, allocations: 8.312 kB / 0.5234 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.83e-05/0.004734, allocations: 5.062 kB / 0.5234 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.794e-05/0.004752, allocations: 33.39 kB / 0.5234 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=2): time 8.62e-07/0.004753, allocations: 0 / 0.5234 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2): time 0.00012/0.004873, allocations: 46.39 kB / 0.5235 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.666e-05/0.004899, allocations: 53.16 kB / 0.5235 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.19e-05/0.004971, allocations: 161.9 kB / 0.5237 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 8.787e-06/0.00498, allocations: 25.7 kB / 0.5237 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 3.537e-05/0.005015, allocations: 130.9 kB / 0.5238 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.554e-05/0.005041, allocations: 13.61 kB / 0.5238 GB, free: 14.78 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.485e-05/0.005066, allocations: 15.38 kB / 0.5239 GB, free: 14.76 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001119/0.005178, allocations: 496.1 kB / 0.5243 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.169e-05/0.005189, allocations: 4 kB / 0.5243 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.455e-06/0.005198, allocations: 4.734 kB / 0.5243 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.667e-05/0.005224, allocations: 17 kB / 0.5244 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.005226, allocations: 0 / 0.5244 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.021e-05/0.005276, allocations: 41.64 kB / 0.5244 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.241e-05/0.005288, allocations: 4.875 kB / 0.5244 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.918e-06/0.005292, allocations: 0 / 0.5244 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.958e-06/0.005302, allocations: 0 / 0.5244 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001354/0.005438, allocations: 13.14 kB / 0.5244 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003243/0.005762, allocations: 0.8961 MB / 0.5253 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.723e-05/0.005779, allocations: 4 kB / 0.5253 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.399e-06/0.005784, allocations: 0 / 0.5253 GB, free: 13.25 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 7.003e-05/0.005854, allocations: 156.5 kB / 0.5254 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.906e-06/0.005863, allocations: 11.92 kB / 0.5254 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.907e-05/0.005952, allocations: 40.61 kB / 0.5255 GB, free: 13.03 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.005955, allocations: 7.031 kB / 0.5255 GB, free: 13.03 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/0.005958, allocations: 0 / 0.5255 GB, free: 13.03 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.005961, allocations: 0 / 0.5255 GB, free: 13.03 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.112e-05/0.006022, allocations: 112.6 kB / 0.5256 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.006023, allocations: 0 / 0.5256 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.677e-05/0.00608, allocations: 8 kB / 0.5256 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.006083, allocations: 3.984 kB / 0.5256 GB, free: 12.87 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.176e-06/0.006091, allocations: 7.938 kB / 0.5256 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003209/0.006412, allocations: 0.8986 MB / 0.5265 GB, free: 11.94 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.006413, allocations: 0 / 0.5265 GB, free: 11.94 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.44e-05/0.006467, allocations: 77.78 kB / 0.5266 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.266e-06/0.006476, allocations: 3.984 kB / 0.5266 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.846e-06/0.006485, allocations: 0 / 0.5266 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.247e-06/0.006494, allocations: 7.938 kB / 0.5266 GB, free: 11.83 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.318e-05/0.006507, allocations: 1.281 kB / 0.5266 GB, free: 11.83 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.374e-06/0.006509, allocations: 4 kB / 0.5266 GB, free: 11.82 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.025e-05/0.00654, allocations: 119.2 kB / 0.5267 GB, free: 11.71 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8.1e-08/0.00654, allocations: 0.7812 kB / 0.5267 GB, free: 11.71 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001332/0.006673, allocations: 11.94 kB / 0.5267 GB, free: 11.7 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 (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001255/0.006798, allocations: 116.2 kB / 0.5268 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001358/0.006934, allocations: 26.73 kB / 0.5269 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.006936, allocations: 4 kB / 0.5269 GB, free: 11.54 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 3.524e-05/0.006971, allocations: 23.67 kB / 0.5269 GB, free: 11.52 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001108/0.007082, allocations: 4.875 kB / 0.5269 GB, free: 11.51 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002701/0.007352, allocations: 120.7 kB / 0.527 GB, free: 11.37 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.803e-05/0.00738, allocations: 51.36 kB / 0.527 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.355e-05/0.007393, allocations: 0 / 0.527 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.553e-05/0.007409, allocations: 12.5 kB / 0.5271 GB, free: 11.29 MB / 0.4948 GB Notification: Performance of SimCode: time 1.342e-06/0.00741, allocations: 1.312 kB / 0.5271 GB, free: 11.29 MB / 0.4948 GB Notification: Performance of Templates: time 0.002222/0.009632, allocations: 495.8 kB / 0.5275 GB, free: 10.86 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & ./IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.9660143409855664]