Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.001302/0.001302, 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.001445/0.001445, allocations: 165 kB / 23.01 MB, free: 1.555 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.091/1.091, allocations: 177.1 MB / 203.4 MB, free: 5.648 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.8202/0.8202, allocations: 154.8 MB / 414.7 MB, free: 0.4922 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/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_dev_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_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.266e-06/3.266e-06, allocations: 3.984 kB / 0.5206 GB, free: 1.957 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.957e-05/3.283e-05, allocations: 5 kB / 0.5206 GB, free: 1.953 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.002663/0.002696, allocations: 1.295 MB / 0.5218 GB, free: 0.668 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001053/0.003749, allocations: 0.5569 MB / 0.5224 GB, free: 116 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.181e-05/0.003781, allocations: 0.5938 kB / 0.5224 GB, free: 116 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.747e-05/0.003809, allocations: 3.984 kB / 0.5224 GB, free: 112 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 5.156e-05/0.00386, allocations: 7.344 kB / 0.5224 GB, free: 108 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005762/0.004436, allocations: 139.3 kB / 0.5225 GB, free: 15.97 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 5.454e-05/0.004491, allocations: 7.938 kB / 0.5225 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 4.291e-05/0.004534, allocations: 4 kB / 0.5225 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 3.275e-05/0.004567, allocations: 3.984 kB / 0.5225 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 4.737e-05/0.004614, allocations: 11.92 kB / 0.5225 GB, free: 15.94 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.506e-05/0.004629, allocations: 0.6875 kB / 0.5225 GB, free: 15.94 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005025/0.005132, allocations: 259.5 kB / 0.5228 GB, free: 15.69 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 1.837e-05/0.00515, allocations: 8.5 kB / 0.5228 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 1.955e-05/0.005169, allocations: 3.984 kB / 0.5228 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002673/0.005437, allocations: 152.5 kB / 0.5229 GB, free: 15.53 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.885e-06/0.00544, allocations: 0 / 0.5229 GB, free: 15.53 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.012e-06/0.005441, allocations: 5.531 kB / 0.5229 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.498e-06/0.005445, allocations: 0 / 0.5229 GB, free: 15.52 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.0003877/0.005833, allocations: 368 kB / 0.5233 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.354e-05/0.005876, allocations: 12.02 kB / 0.5233 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.968e-05/0.005916, allocations: 9.75 kB / 0.5233 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.307e-05/0.006009, allocations: 105 kB / 0.5234 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.353e-05/0.006023, allocations: 6.375 kB / 0.5234 GB, free: 14.97 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.401e-05/0.006037, allocations: 4.375 kB / 0.5234 GB, free: 14.97 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.488e-05/0.006122, allocations: 30.27 kB / 0.5235 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.006133, allocations: 192 / 0.5235 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.247e-06/0.006142, allocations: 384 / 0.5235 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.526e-06/0.006151, allocations: 4.969 kB / 0.5235 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.159e-05/0.006172, allocations: 7.922 kB / 0.5235 GB, free: 14.92 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001766/0.006349, allocations: 117.2 kB / 0.5236 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 5.655e-05/0.006405, allocations: 31.75 kB / 0.5236 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.167e-05/0.006427, allocations: 12.31 kB / 0.5236 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.407e-05/0.006451, allocations: 0 / 0.5236 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.272e-05/0.006474, allocations: 34.83 kB / 0.5237 GB, free: 14.67 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.006475, allocations: 0 / 0.5237 GB, free: 14.67 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2): time 0.000147/0.006622, allocations: 45.69 kB / 0.5237 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.03e-05/0.006652, allocations: 56.12 kB / 0.5238 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.143e-05/0.006734, allocations: 158.8 kB / 0.5239 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.266e-05/0.006746, allocations: 25.7 kB / 0.5239 GB, free: 14.35 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 3.861e-05/0.006785, allocations: 133.9 kB / 0.5241 GB, free: 14.22 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.801e-05/0.006813, allocations: 11.88 kB / 0.5241 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.366e-05/0.006847, allocations: 19.38 kB / 0.5241 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001251/0.006972, allocations: 492.1 kB / 0.5246 GB, free: 13.69 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.175e-05/0.006983, allocations: 0 / 0.5246 GB, free: 13.69 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.197e-06/0.006993, allocations: 8 kB / 0.5246 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.023e-05/0.007023, allocations: 11.69 kB / 0.5246 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.007025, allocations: 5.656 kB / 0.5246 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.454e-05/0.00709, allocations: 41.62 kB / 0.5246 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.007104, allocations: 5.719 kB / 0.5246 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.007109, allocations: 4 kB / 0.5246 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.57e-05/0.007124, allocations: 2.75 kB / 0.5246 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001623/0.007287, allocations: 15.98 kB / 0.5246 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004686/0.007755, allocations: 0.8932 MB / 0.5255 GB, free: 12.67 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.901e-05/0.007774, allocations: 0 / 0.5255 GB, free: 12.67 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.771e-06/0.00778, allocations: 0 / 0.5255 GB, free: 12.67 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.512e-05/0.007855, allocations: 158.5 kB / 0.5257 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.067e-06/0.007864, allocations: 3.938 kB / 0.5257 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001078/0.007972, allocations: 52.92 kB / 0.5257 GB, free: 12.44 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.007974, allocations: 0 / 0.5257 GB, free: 12.44 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.007978, allocations: 0.9375 kB / 0.5257 GB, free: 12.44 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.007981, allocations: 0 / 0.5257 GB, free: 12.44 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.583e-05/0.008057, allocations: 112.6 kB / 0.5258 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.008059, allocations: 0.7188 kB / 0.5258 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.285e-05/0.008131, allocations: 11.98 kB / 0.5258 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.008133, allocations: 0.9375 kB / 0.5258 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.065e-06/0.008142, allocations: 7.938 kB / 0.5259 GB, free: 12.28 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003287/0.00847, allocations: 0.8945 MB / 0.5267 GB, free: 11.36 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.008471, allocations: 3.938 kB / 0.5267 GB, free: 11.35 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.94e-05/0.008541, allocations: 77 kB / 0.5268 GB, free: 11.25 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.931e-06/0.008547, allocations: 0.6562 kB / 0.5268 GB, free: 11.25 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.154e-05/0.008558, allocations: 4 kB / 0.5268 GB, free: 11.25 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.35e-05/0.008572, allocations: 7.156 kB / 0.5268 GB, free: 11.25 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.586e-05/0.008588, allocations: 3.984 kB / 0.5268 GB, free: 11.24 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.775e-06/0.00859, allocations: 0 / 0.5268 GB, free: 11.24 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.633e-05/0.008627, allocations: 123.2 kB / 0.5269 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.008627, allocations: 0 / 0.5269 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002217/0.008848, allocations: 7.938 kB / 0.5269 GB, free: 11.11 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.0001526/0.009001, allocations: 110.4 kB / 0.527 GB, free: 11 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.000159/0.00916, allocations: 27.61 kB / 0.5271 GB, free: 10.97 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.009162, allocations: 0 / 0.5271 GB, free: 10.97 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 5.904e-05/0.009221, allocations: 27.61 kB / 0.5271 GB, free: 10.94 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001644/0.009385, allocations: 8.5 kB / 0.5271 GB, free: 10.93 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003172/0.009702, allocations: 116.1 kB / 0.5272 GB, free: 10.79 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.311e-05/0.009736, allocations: 55.36 kB / 0.5273 GB, free: 10.71 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.785e-05/0.009753, allocations: 2.406 kB / 0.5273 GB, free: 10.71 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.752e-05/0.009771, allocations: 8.5 kB / 0.5273 GB, free: 10.71 MB / 0.4948 GB Notification: Performance of SimCode: time 8.11e-07/0.009772, allocations: 0 / 0.5273 GB, free: 10.71 MB / 0.4948 GB Notification: Performance of Templates: time 0.002685/0.01246, allocations: 491.3 kB / 0.5278 GB, free: 10.29 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & ./IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.934703958686441]