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.001313/0.001313, 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.00157/0.00157, 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.103/1.103, allocations: 177.1 MB / 203.8 MB, free: 5.617 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.8101/0.8101, allocations: 154.6 MB / 414.9 MB, free: 0.6602 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.623e-06/1.623e-06, allocations: 0 / 0.5203 GB, free: 2.527 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.034e-05/2.196e-05, allocations: 2.312 kB / 0.5203 GB, free: 2.523 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.001786/0.001808, allocations: 1.285 MB / 0.5216 GB, free: 1.246 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007728/0.002581, allocations: 0.5582 MB / 0.5221 GB, free: 0.6914 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.079e-05/0.002601, allocations: 0 / 0.5221 GB, free: 0.6914 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 1.611e-05/0.002617, allocations: 0 / 0.5221 GB, free: 0.6914 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 3.743e-05/0.002655, allocations: 1.281 kB / 0.5221 GB, free: 0.6914 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003784/0.003033, allocations: 148.5 kB / 0.5223 GB, free: 0.5469 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 4.688e-05/0.00308, allocations: 11.94 kB / 0.5223 GB, free: 0.5352 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.527e-05/0.003115, allocations: 4 kB / 0.5223 GB, free: 0.5312 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.616e-05/0.003142, allocations: 4.781 kB / 0.5223 GB, free: 0.5273 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.908e-05/0.003181, allocations: 3.984 kB / 0.5223 GB, free: 0.5234 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.246e-05/0.003193, allocations: 1.844 kB / 0.5223 GB, free: 0.5234 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002884/0.003482, allocations: 267.4 kB / 0.5226 GB, free: 268 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.269e-05/0.003494, allocations: 0 / 0.5226 GB, free: 268 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.658e-05/0.003511, allocations: 3.984 kB / 0.5226 GB, free: 264 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001852/0.003696, allocations: 151.5 kB / 0.5227 GB, free: 112 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.064e-06/0.003698, allocations: 2.062 kB / 0.5227 GB, free: 112 kB / 490.7 MB Notification: Performance of FrontEnd: time 8.32e-07/0.003699, allocations: 0 / 0.5227 GB, free: 112 kB / 490.7 MB Notification: Performance of Transformations before backend: time 3.878e-06/0.003703, allocations: 0 / 0.5227 GB, free: 112 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.0002925/0.003995, allocations: 376 kB / 0.5231 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.498e-05/0.00403, allocations: 12.03 kB / 0.5231 GB, free: 15.69 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.191e-05/0.004062, allocations: 6.344 kB / 0.5231 GB, free: 15.69 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.406e-05/0.004136, allocations: 105 kB / 0.5232 GB, free: 15.56 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.067e-06/0.004145, allocations: 8.312 kB / 0.5232 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.742e-06/0.004152, allocations: 384 / 0.5232 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.704e-05/0.004219, allocations: 31.23 kB / 0.5232 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.492e-06/0.004226, allocations: 4.172 kB / 0.5232 GB, free: 15.51 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.135e-06/0.004234, allocations: 1.344 kB / 0.5232 GB, free: 15.51 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.752e-06/0.00424, allocations: 384 / 0.5232 GB, free: 15.51 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.864e-05/0.004259, allocations: 11.92 kB / 0.5232 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001265/0.004386, allocations: 113.6 kB / 0.5234 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 4.412e-05/0.00443, allocations: 39.03 kB / 0.5234 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.567e-05/0.004445, allocations: 12.53 kB / 0.5234 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.526e-05/0.004461, allocations: 0 / 0.5234 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.914e-05/0.00448, allocations: 41.94 kB / 0.5234 GB, free: 15.24 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=2): time 6.01e-07/0.00448, allocations: 0.8125 kB / 0.5234 GB, free: 15.24 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2): time 0.0001094/0.00459, allocations: 34.92 kB / 0.5235 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.403e-05/0.004614, allocations: 55.34 kB / 0.5235 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.189e-05/0.004676, allocations: 161.9 kB / 0.5237 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 7.564e-06/0.004683, allocations: 26.2 kB / 0.5237 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 2.899e-05/0.004712, allocations: 128.7 kB / 0.5238 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.351e-05/0.004736, allocations: 11.88 kB / 0.5238 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.582e-05/0.004762, allocations: 23.38 kB / 0.5239 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.611e-05/0.004858, allocations: 492.1 kB / 0.5243 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.084e-05/0.004869, allocations: 4 kB / 0.5243 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.893e-06/0.004875, allocations: 1.719 kB / 0.5243 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.405e-05/0.004899, allocations: 15.69 kB / 0.5244 GB, free: 14.24 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.004901, allocations: 0 / 0.5244 GB, free: 14.24 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.468e-05/0.004945, allocations: 46.47 kB / 0.5244 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.2e-05/0.004957, allocations: 8 kB / 0.5244 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-06/0.004961, allocations: 1.125 kB / 0.5244 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.658e-06/0.004971, allocations: 0 / 0.5244 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001313/0.005102, allocations: 11.98 kB / 0.5244 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003691/0.005471, allocations: 0.896 MB / 0.5253 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.62e-05/0.005487, allocations: 0 / 0.5253 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.95e-06/0.005492, 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 6.081e-05/0.005553, allocations: 156.6 kB / 0.5254 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.25e-06/0.005558, allocations: 3.938 kB / 0.5254 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.359e-05/0.005642, allocations: 55.28 kB / 0.5255 GB, free: 13.03 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.005644, allocations: 3.938 kB / 0.5255 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.005647, allocations: 0 / 0.5255 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.005651, allocations: 4 kB / 0.5255 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.137e-05/0.005712, allocations: 108.6 kB / 0.5256 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.147e-06/0.005716, allocations: 3.984 kB / 0.5256 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.379e-05/0.00577, allocations: 8 kB / 0.5256 GB, free: 12.87 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.005773, allocations: 0.8125 kB / 0.5256 GB, free: 12.87 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.544e-06/0.005781, allocations: 7.938 kB / 0.5256 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002456/0.006026, allocations: 0.8946 MB / 0.5265 GB, free: 11.94 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/0.006029, allocations: 7.922 kB / 0.5265 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.318e-05/0.006082, allocations: 73.86 kB / 0.5266 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.445e-05/0.006097, allocations: 4 kB / 0.5266 GB, free: 11.83 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.157e-06/0.006106, allocations: 0 / 0.5266 GB, free: 11.83 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.834e-06/0.006114, allocations: 0.5 kB / 0.5266 GB, free: 11.83 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.302e-05/0.006127, allocations: 3.984 kB / 0.5266 GB, free: 11.83 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.016e-06/0.00613, allocations: 0.5938 kB / 0.5266 GB, free: 11.83 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 2.974e-05/0.006159, allocations: 123.9 kB / 0.5267 GB, free: 11.71 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.006159, allocations: 1.531 kB / 0.5267 GB, free: 11.71 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001325/0.006292, 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.0001282/0.00642, allocations: 105.7 kB / 0.5268 GB, free: 11.59 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001248/0.006545, allocations: 31.61 kB / 0.5269 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.006547, allocations: 0 / 0.5269 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 3.64e-05/0.006583, 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.0001063/0.006689, allocations: 3.938 kB / 0.5269 GB, free: 11.52 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002676/0.006957, allocations: 117 kB / 0.527 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.771e-05/0.006985, allocations: 51.36 kB / 0.527 GB, free: 11.31 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.26e-05/0.006997, allocations: 0 / 0.527 GB, free: 11.31 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.415e-05/0.007011, allocations: 13.25 kB / 0.5271 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of SimCode: time 7.22e-07/0.007012, allocations: 4 kB / 0.5271 GB, free: 11.29 MB / 0.4948 GB Notification: Performance of Templates: time 0.002078/0.00909, allocations: 483.2 kB / 0.5275 GB, free: 10.88 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.9350953500252217]