Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0008928/0.0008928, allocations: 93.06 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.001462/0.001462, allocations: 165 kB / 23.02 MB, free: 1.547 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.126/1.126, allocations: 177.1 MB / 203.4 MB, free: 5.652 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.8616/0.8616, allocations: 154.8 MB / 414.7 MB, free: 0.5117 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_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_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_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.645e-06/2.645e-06, allocations: 0 / 0.5205 GB, free: 0.8438 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.554e-05/3.818e-05, allocations: 5.359 kB / 0.5206 GB, free: 0.8398 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.002727/0.002766, allocations: 1.29 MB / 0.5218 GB, free: 15.56 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.001022/0.003788, allocations: 0.5521 MB / 0.5224 GB, free: 15.02 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.695e-05/0.003815, allocations: 0.5625 kB / 0.5224 GB, free: 15.02 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 2.32e-05/0.003838, allocations: 0.875 kB / 0.5224 GB, free: 15.02 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 4.825e-05/0.003886, allocations: 3.938 kB / 0.5224 GB, free: 15.01 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005661/0.004452, allocations: 140.7 kB / 0.5225 GB, free: 14.88 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 5.848e-05/0.004511, allocations: 19.91 kB / 0.5225 GB, free: 14.86 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.184e-05/0.004552, allocations: 4.922 kB / 0.5225 GB, free: 14.85 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.506e-05/0.004587, allocations: 8 kB / 0.5225 GB, free: 14.84 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.557e-05/0.004633, allocations: 1.125 kB / 0.5225 GB, free: 14.84 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 1.72e-05/0.00465, allocations: 4 kB / 0.5225 GB, free: 14.84 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004407/0.005091, allocations: 271.4 kB / 0.5228 GB, free: 14.57 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 1.438e-05/0.005105, allocations: 1.438 kB / 0.5228 GB, free: 14.57 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 2.047e-05/0.005126, allocations: 4 kB / 0.5228 GB, free: 14.57 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002682/0.005394, allocations: 155.4 kB / 0.5229 GB, free: 14.42 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.485e-06/0.005396, allocations: 0 / 0.5229 GB, free: 14.42 MB / 458.7 MB Notification: Performance of FrontEnd: time 8.52e-07/0.005397, allocations: 0.8125 kB / 0.5229 GB, free: 14.42 MB / 458.7 MB Notification: Performance of Transformations before backend: time 4.008e-06/0.005401, allocations: 0 / 0.5229 GB, free: 14.42 MB / 458.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.0003846/0.005786, allocations: 377.3 kB / 0.5233 GB, free: 14.01 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.419e-05/0.00583, allocations: 12.03 kB / 0.5233 GB, free: 14 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.71e-05/0.005867, allocations: 0.9375 kB / 0.5233 GB, free: 14 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.162e-05/0.005959, allocations: 114 kB / 0.5234 GB, free: 13.86 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.003e-05/0.005969, allocations: 4.312 kB / 0.5234 GB, free: 13.86 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.072e-05/0.00598, allocations: 384 / 0.5234 GB, free: 13.86 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.991e-05/0.006069, allocations: 38.98 kB / 0.5235 GB, free: 13.82 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.006077, allocations: 192 / 0.5235 GB, free: 13.82 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.648e-06/0.006087, allocations: 384 / 0.5235 GB, free: 13.82 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-06/0.006094, allocations: 2.094 kB / 0.5235 GB, free: 13.82 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.058e-05/0.006115, allocations: 7.938 kB / 0.5235 GB, free: 13.81 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001346/0.006249, allocations: 112.7 kB / 0.5236 GB, free: 13.66 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.388e-05/0.006303, allocations: 33.25 kB / 0.5236 GB, free: 13.62 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.176e-05/0.006325, allocations: 11.69 kB / 0.5236 GB, free: 13.61 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.059e-05/0.006346, allocations: 0 / 0.5236 GB, free: 13.61 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.591e-05/0.006372, allocations: 41.39 kB / 0.5237 GB, free: 13.55 MB / 458.7 MB Notification: Performance of pre-optimization done (n=2): time 7.21e-07/0.006372, allocations: 0 / 0.5237 GB, free: 13.55 MB / 458.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001371/0.006509, allocations: 42.48 kB / 0.5237 GB, free: 13.51 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.978e-05/0.006539, allocations: 51.41 kB / 0.5238 GB, free: 13.45 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.133e-05/0.00663, allocations: 163.3 kB / 0.5239 GB, free: 13.27 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.196e-05/0.006642, allocations: 25.7 kB / 0.5239 GB, free: 13.24 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.648e-05/0.006679, allocations: 126.9 kB / 0.5241 GB, free: 13.11 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.41e-05/0.006703, allocations: 0.9688 kB / 0.5241 GB, free: 13.11 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.254e-05/0.006736, allocations: 19.38 kB / 0.5241 GB, free: 13.08 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001322/0.006868, allocations: 0.4893 MB / 0.5246 GB, free: 12.58 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.4e-05/0.006882, allocations: 4 kB / 0.5246 GB, free: 12.58 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.092e-05/0.006893, allocations: 4.875 kB / 0.5246 GB, free: 12.57 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.143e-05/0.006924, allocations: 11.69 kB / 0.5246 GB, free: 12.56 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.006928, allocations: 4.5 kB / 0.5246 GB, free: 12.55 MB / 458.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.394e-05/0.006991, allocations: 46.34 kB / 0.5246 GB, free: 12.5 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.007006, allocations: 7.984 kB / 0.5246 GB, free: 12.5 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.00701, allocations: 1.219 kB / 0.5246 GB, free: 12.5 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/0.007026, allocations: 0 / 0.5246 GB, free: 12.5 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001582/0.007184, allocations: 8 kB / 0.5246 GB, free: 12.49 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004233/0.007607, allocations: 0.8994 MB / 0.5255 GB, free: 11.56 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.046e-05/0.007627, allocations: 7.922 kB / 0.5255 GB, free: 11.55 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.961e-06/0.007633, allocations: 4 kB / 0.5255 GB, free: 11.55 MB / 458.7 MB 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.64e-05/0.00771, allocations: 152.6 kB / 0.5257 GB, free: 11.39 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.806e-06/0.007719, allocations: 5.656 kB / 0.5257 GB, free: 11.39 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001015/0.00782, allocations: 45 kB / 0.5257 GB, free: 11.34 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.007822, allocations: 3.938 kB / 0.5257 GB, free: 11.33 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.007826, allocations: 5.344 kB / 0.5257 GB, free: 11.33 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.00783, allocations: 0 / 0.5257 GB, free: 11.33 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.963e-05/0.007909, allocations: 108.6 kB / 0.5258 GB, free: 11.19 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.007911, allocations: 0 / 0.5258 GB, free: 11.19 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.34e-05/0.007984, allocations: 18.36 kB / 0.5259 GB, free: 11.17 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.007987, allocations: 0 / 0.5259 GB, free: 11.17 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.574e-06/0.007994, allocations: 7.938 kB / 0.5259 GB, free: 11.16 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000332/0.008326, allocations: 0.8933 MB / 0.5267 GB, free: 10.24 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.008327, allocations: 0 / 0.5267 GB, free: 10.24 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.083e-05/0.008398, allocations: 83.22 kB / 0.5268 GB, free: 10.14 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.484e-06/0.008406, allocations: 4 kB / 0.5268 GB, free: 10.14 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.004e-05/0.008416, allocations: 0 / 0.5268 GB, free: 10.14 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.196e-05/0.008428, allocations: 0 / 0.5268 GB, free: 10.14 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.568e-05/0.008443, allocations: 0 / 0.5268 GB, free: 10.14 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.525e-06/0.008446, allocations: 0 / 0.5268 GB, free: 10.14 MB / 458.7 MB Notification: Performance of sorting global known variables: time 5.412e-05/0.0085, allocations: 127.2 kB / 0.5269 GB, free: 10.01 MB / 458.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.0085, allocations: 0.6562 kB / 0.5269 GB, free: 10.01 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002337/0.008734, allocations: 9.312 kB / 0.5269 GB, free: 10 MB / 458.7 MB 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.0001443/0.008878, allocations: 107.2 kB / 0.527 GB, free: 9.887 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001551/0.009033, allocations: 26.34 kB / 0.5271 GB, free: 9.859 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.009035, allocations: 0 / 0.5271 GB, free: 9.859 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 5.889e-05/0.009094, allocations: 27.61 kB / 0.5271 GB, free: 9.828 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001667/0.009261, allocations: 4.688 kB / 0.5271 GB, free: 9.824 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003207/0.009581, allocations: 113.1 kB / 0.5272 GB, free: 9.688 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.418e-05/0.009616, allocations: 55.34 kB / 0.5273 GB, free: 9.613 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 1.672e-05/0.009632, allocations: 0 / 0.5273 GB, free: 9.613 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2e-05/0.009652, allocations: 16.44 kB / 0.5273 GB, free: 9.598 MB / 458.7 MB Notification: Performance of SimCode: time 5.71e-07/0.009653, allocations: 1 kB / 0.5273 GB, free: 9.598 MB / 458.7 MB Notification: Performance of Templates: time 0.00221/0.01186, allocations: 0.4901 MB / 0.5278 GB, free: 9.164 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & ./IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.9376923041418195]