Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.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.0009064/0.0009064, allocations: 92.22 kB / 19.65 MB, free: 276 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.0009382/0.0009382, 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.054/1.054, allocations: 177.1 MB / 203.4 MB, free: 5.637 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.81/0.81, allocations: 154.6 MB / 414.5 MB, free: 0.6523 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_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.283e-06/1.283e-06, allocations: 0 / 0.5203 GB, free: 2.211 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.187e-05/1.316e-05, allocations: 7.391 kB / 0.5203 GB, free: 2.207 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.001433/0.001447, allocations: 1.295 MB / 0.5216 GB, free: 0.918 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006748/0.002121, allocations: 0.5507 MB / 0.5221 GB, free: 380 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.658e-05/0.002138, allocations: 0 / 0.5221 GB, free: 380 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 1.469e-05/0.002153, allocations: 0 / 0.5221 GB, free: 380 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 3.048e-05/0.002183, allocations: 9.156 kB / 0.5221 GB, free: 372 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003586/0.002542, allocations: 145 kB / 0.5223 GB, free: 228 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 3.507e-05/0.002577, allocations: 11.92 kB / 0.5223 GB, free: 216 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.167e-05/0.002598, allocations: 0 / 0.5223 GB, free: 216 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.897e-05/0.002617, allocations: 4 kB / 0.5223 GB, free: 212 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.552e-05/0.002643, allocations: 5.812 kB / 0.5223 GB, free: 208 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 7.654e-06/0.002651, allocations: 0 / 0.5223 GB, free: 208 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002666/0.002917, allocations: 275.3 kB / 0.5226 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 7.765e-06/0.002925, allocations: 0 / 0.5226 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 1.173e-05/0.002937, allocations: 4 kB / 0.5226 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001582/0.003095, allocations: 153.1 kB / 0.5227 GB, free: 15.78 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.723e-06/0.003097, allocations: 0 / 0.5227 GB, free: 15.78 MB / 0.4948 GB Notification: Performance of FrontEnd: time 5.11e-07/0.003097, allocations: 0 / 0.5227 GB, free: 15.78 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.066e-06/0.0031, allocations: 0 / 0.5227 GB, free: 15.78 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002321/0.003332, allocations: 372.8 kB / 0.5231 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 2.439e-05/0.003357, allocations: 11.97 kB / 0.5231 GB, free: 15.37 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.028e-05/0.003377, allocations: 2.406 kB / 0.5231 GB, free: 15.37 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.803e-05/0.003435, allocations: 113 kB / 0.5232 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.211e-06/0.003441, allocations: 384 / 0.5232 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.591e-06/0.003447, allocations: 4.359 kB / 0.5232 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.928e-05/0.003496, allocations: 35.55 kB / 0.5232 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.899e-06/0.003501, allocations: 192 / 0.5232 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.34e-06/0.003506, allocations: 384 / 0.5232 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.003511, allocations: 1.406 kB / 0.5232 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.458e-05/0.003525, allocations: 7.938 kB / 0.5232 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.62e-05/0.003612, allocations: 120.6 kB / 0.5233 GB, free: 15.03 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 3.499e-05/0.003647, allocations: 33.97 kB / 0.5234 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.261e-05/0.003659, allocations: 7.688 kB / 0.5234 GB, free: 14.97 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.153e-05/0.003671, allocations: 8 kB / 0.5234 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.629e-05/0.003687, allocations: 33.39 kB / 0.5234 GB, free: 14.92 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=2): time 5.31e-07/0.003688, allocations: 0 / 0.5234 GB, free: 14.92 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2): time 7.419e-05/0.003762, allocations: 41.69 kB / 0.5235 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.317e-05/0.003785, allocations: 55.97 kB / 0.5235 GB, free: 14.81 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.029e-05/0.003835, allocations: 154.4 kB / 0.5237 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 8.015e-06/0.003843, allocations: 26.58 kB / 0.5237 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 2.755e-05/0.003871, allocations: 134.9 kB / 0.5238 GB, free: 14.47 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.535e-05/0.003886, allocations: 9.422 kB / 0.5238 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.871e-05/0.003905, allocations: 15.38 kB / 0.5238 GB, free: 14.44 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001037/0.004009, allocations: 0.4884 MB / 0.5243 GB, free: 13.94 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.674e-06/0.004016, allocations: 4 kB / 0.5243 GB, free: 13.94 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.071e-06/0.004022, allocations: 8.875 kB / 0.5243 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.892e-05/0.004041, allocations: 15.69 kB / 0.5243 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-06/0.004042, allocations: 1.031 kB / 0.5243 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 3.345e-05/0.004076, allocations: 37.7 kB / 0.5244 GB, free: 13.87 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 8.226e-06/0.004084, allocations: 4.938 kB / 0.5244 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.256e-06/0.004087, allocations: 3.984 kB / 0.5244 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.983e-06/0.004094, allocations: 3.062 kB / 0.5244 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001077/0.004202, allocations: 8 kB / 0.5244 GB, free: 13.85 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005284/0.00473, allocations: 0.8971 MB / 0.5253 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.001e-05/0.004741, allocations: 4 kB / 0.5253 GB, free: 12.92 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.198e-06/0.004745, allocations: 3.984 kB / 0.5253 GB, free: 12.92 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 5.007e-05/0.004795, allocations: 156.5 kB / 0.5254 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.452e-06/0.004801, allocations: 10.69 kB / 0.5254 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.383e-05/0.004865, allocations: 48.59 kB / 0.5255 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.004867, allocations: 0 / 0.5255 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.974e-06/0.004869, allocations: 0 / 0.5255 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.004871, allocations: 3.938 kB / 0.5255 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.706e-05/0.004928, allocations: 108.6 kB / 0.5256 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.52e-07/0.004929, allocations: 1.312 kB / 0.5256 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.95e-05/0.004968, allocations: 15.98 kB / 0.5256 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.92e-07/0.004969, allocations: 0 / 0.5256 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.519e-06/0.004974, allocations: 3.938 kB / 0.5256 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002524/0.005226, allocations: 0.8942 MB / 0.5265 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.005227, allocations: 1.875 kB / 0.5265 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.474e-05/0.005271, allocations: 80.31 kB / 0.5266 GB, free: 11.51 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.1e-06/0.005276, allocations: 0 / 0.5266 GB, free: 11.51 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.879e-06/0.005286, allocations: 7.984 kB / 0.5266 GB, free: 11.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.571e-06/0.005292, allocations: 2.438 kB / 0.5266 GB, free: 11.5 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.15e-05/0.005303, allocations: 4 kB / 0.5266 GB, free: 11.5 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.593e-06/0.005305, allocations: 0 / 0.5266 GB, free: 11.5 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 2.564e-05/0.005331, allocations: 119.2 kB / 0.5267 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5.1e-08/0.005331, allocations: 0 / 0.5267 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.000121/0.005452, allocations: 15.92 kB / 0.5267 GB, free: 11.37 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 9.11e-05/0.005543, allocations: 105.6 kB / 0.5268 GB, free: 11.26 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 9.792e-05/0.005641, allocations: 27.67 kB / 0.5268 GB, free: 11.23 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.005643, allocations: 4 kB / 0.5268 GB, free: 11.22 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 3.539e-05/0.005678, allocations: 24.11 kB / 0.5269 GB, free: 11.2 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.546e-05/0.005764, allocations: 11.38 kB / 0.5269 GB, free: 11.19 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001865/0.00595, allocations: 110.3 kB / 0.527 GB, free: 11.05 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.408e-05/0.005974, allocations: 63.27 kB / 0.527 GB, free: 10.97 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.108e-05/0.005985, allocations: 7.938 kB / 0.5271 GB, free: 10.96 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.206e-05/0.005997, allocations: 8.5 kB / 0.5271 GB, free: 10.96 MB / 0.4948 GB Notification: Performance of SimCode: time 4.01e-07/0.005998, allocations: 0 / 0.5271 GB, free: 10.96 MB / 0.4948 GB Notification: Performance of Templates: time 0.001803/0.007801, allocations: 0.5063 MB / 0.5276 GB, free: 10.51 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & ./IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7523069689050317]