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.0007419/0.0007419, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001143/0.001885, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0007341/0.0007341, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009142/0.001648, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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 0.9723/0.9723, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08578/1.058, allocations: 53.65 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-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 4.0.0-master/package.mo): time 0.777/0.777, allocations: 155.3 MB / 399.2 MB, free: 15.94 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of NFInstanceAPI.mkTop(): time 0.2846/1.062, allocations: 49.13 MB / 448.4 MB, free: 6 MB / 426.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 1.132e-06/1.132e-06, allocations: 0 / 449.7 MB, free: 4.723 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.267e-06/1.04e-05, allocations: 2.312 kB / 449.7 MB, free: 4.719 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.001496/0.001506, allocations: 1.348 MB / 451 MB, free: 3.391 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006422/0.002148, allocations: 0.563 MB / 451.6 MB, free: 2.84 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.705e-05/0.002165, allocations: 6.125 kB / 451.6 MB, free: 2.836 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 6.703e-06/0.002172, allocations: 0 / 451.6 MB, free: 2.836 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 2.13e-05/0.002193, allocations: 1.859 kB / 451.6 MB, free: 2.836 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002578/0.002451, allocations: 134.2 kB / 451.7 MB, free: 2.715 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 4.986e-05/0.002501, allocations: 12.16 kB / 451.8 MB, free: 2.707 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.443e-05/0.002535, allocations: 1.969 kB / 451.8 MB, free: 2.707 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.826e-05/0.002584, allocations: 12.75 kB / 451.8 MB, free: 2.695 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.632e-05/0.00263, allocations: 4.969 kB / 451.8 MB, free: 2.691 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.124e-05/0.002641, allocations: 0 / 451.8 MB, free: 2.691 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002896/0.002931, allocations: 277.7 kB / 452 MB, free: 2.422 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 9.097e-06/0.00294, allocations: 1.406 kB / 452 MB, free: 2.422 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 1.236e-05/0.002952, allocations: 4 kB / 452.1 MB, free: 2.418 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001773/0.00313, allocations: 119.6 kB / 452.2 MB, free: 2.301 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.574e-05/0.003145, allocations: 4 kB / 452.2 MB, free: 2.297 MB / 426.7 MB Notification: Performance of FrontEnd: time 5.71e-07/0.003146, allocations: 0.5312 kB / 452.2 MB, free: 2.297 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.546e-05/0.003161, allocations: 0.6875 kB / 452.2 MB, free: 2.297 MB / 426.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.0003307/0.003492, allocations: 256.4 kB / 452.4 MB, free: 2.02 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.827e-05/0.00352, allocations: 13.53 kB / 452.4 MB, free: 2.008 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.337e-05/0.003544, allocations: 0.9375 kB / 452.4 MB, free: 2.008 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.768e-05/0.003621, allocations: 115.8 kB / 452.6 MB, free: 1.871 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.538e-06/0.003631, allocations: 384 / 452.6 MB, free: 1.871 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.191e-06/0.003637, allocations: 3.125 kB / 452.6 MB, free: 1.871 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.183e-05/0.003699, allocations: 38.2 kB / 452.6 MB, free: 1.828 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.685e-06/0.003707, allocations: 192 / 452.6 MB, free: 1.828 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.521e-06/0.003712, allocations: 384 / 452.6 MB, free: 1.828 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.003717, allocations: 384 / 452.6 MB, free: 1.828 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.432e-05/0.003731, allocations: 9.875 kB / 452.6 MB, free: 1.82 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.69e-05/0.003808, allocations: 64.72 kB / 452.7 MB, free: 1.746 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.42e-05/0.003842, allocations: 23.55 kB / 452.7 MB, free: 1.715 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.154e-05/0.003854, allocations: 4.859 kB / 452.7 MB, free: 1.707 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.711e-05/0.003871, allocations: 4.875 kB / 452.7 MB, free: 1.703 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.923e-05/0.00389, allocations: 34.62 kB / 452.7 MB, free: 1.66 MB / 426.7 MB Notification: Performance of pre-optimization done (n=2): time 6.61e-07/0.003891, allocations: 0.5625 kB / 452.7 MB, free: 1.66 MB / 426.7 MB Notification: Performance of matching and sorting (n=2): time 7.46e-05/0.003965, allocations: 34.97 kB / 452.8 MB, free: 1.621 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.494e-05/0.004, allocations: 59.41 kB / 452.8 MB, free: 1.551 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.184e-05/0.004052, allocations: 94.72 kB / 452.9 MB, free: 1.445 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 7.694e-06/0.00406, allocations: 26.33 kB / 452.9 MB, free: 1.414 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.812e-05/0.004078, allocations: 84.77 kB / 453 MB, free: 1.328 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.275e-05/0.004101, allocations: 7.938 kB / 453 MB, free: 1.32 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.035e-05/0.004121, allocations: 19.03 kB / 453.1 MB, free: 1.297 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000144/0.004265, allocations: 318.8 kB / 453.4 MB, free: 0.9766 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.13e-06/0.00427, allocations: 0 / 453.4 MB, free: 0.9766 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.761e-06/0.004276, allocations: 12.38 kB / 453.4 MB, free: 0.9648 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.858e-05/0.004294, allocations: 10.23 kB / 453.4 MB, free: 0.9531 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.004296, allocations: 0 / 453.4 MB, free: 0.9531 MB / 426.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 3.457e-05/0.004331, allocations: 33.69 kB / 453.4 MB, free: 0.9141 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.094e-05/0.004342, allocations: 9.062 kB / 453.4 MB, free: 0.9062 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/0.004345, allocations: 0 / 453.4 MB, free: 0.9062 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.825e-06/0.004353, allocations: 0 / 453.4 MB, free: 0.9062 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001129/0.004466, allocations: 8.656 kB / 453.4 MB, free: 0.8984 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002132/0.004679, allocations: 0.5907 MB / 454 MB, free: 292 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.276e-05/0.004692, allocations: 6.328 kB / 454 MB, free: 288 kB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.977e-06/0.004696, allocations: 0 / 454 MB, free: 288 kB / 426.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 4.442e-05/0.00474, allocations: 107.3 kB / 454.1 MB, free: 172 kB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.839e-06/0.004745, allocations: 4 kB / 454.1 MB, free: 168 kB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.118e-05/0.004806, allocations: 41.78 kB / 454.2 MB, free: 120 kB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.004809, allocations: 3.938 kB / 454.2 MB, free: 116 kB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.475e-06/0.004811, allocations: 5.438 kB / 454.2 MB, free: 112 kB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.004814, allocations: 3.938 kB / 454.2 MB, free: 108 kB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.496e-05/0.004859, allocations: 61.91 kB / 454.3 MB, free: 28 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.00486, allocations: 0 / 454.3 MB, free: 28 kB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.18e-05/0.004902, allocations: 12.83 kB / 454.3 MB, free: 16 kB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.897e-05/0.004971, allocations: 3.953 kB / 454.3 MB, free: 12 kB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.004974, allocations: 0.5938 kB / 454.3 MB, free: 12 kB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.272e-06/0.00498, allocations: 4.906 kB / 454.3 MB, free: 8 kB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001994/0.00518, allocations: 0.5788 MB / 454.9 MB, free: 15.41 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.00518, allocations: 0 / 454.9 MB, free: 15.41 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.17e-05/0.005222, allocations: 73.64 kB / 454.9 MB, free: 15.32 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.013e-06/0.005229, allocations: 0.875 kB / 454.9 MB, free: 15.32 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.005e-06/0.005237, allocations: 0 / 454.9 MB, free: 15.32 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.999e-06/0.005247, allocations: 0 / 454.9 MB, free: 15.32 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.727e-06/0.005251, allocations: 5.203 kB / 454.9 MB, free: 15.31 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.011e-05/0.005261, allocations: 8.859 kB / 454.9 MB, free: 15.3 MB / 442.7 MB Notification: Performance of sort global known variables: time 6e-08/0.005261, allocations: 0.5625 kB / 454.9 MB, free: 15.3 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001021/0.005363, allocations: 15.94 kB / 455 MB, free: 15.29 MB / 442.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.0001151/0.005478, allocations: 101.5 kB / 455.1 MB, free: 15.18 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 7.624e-05/0.005554, allocations: 25.31 kB / 455.1 MB, free: 15.15 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.005557, allocations: 0.625 kB / 455.1 MB, free: 15.15 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 1.994e-05/0.005577, allocations: 17.42 kB / 455.1 MB, free: 15.13 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.463e-05/0.005632, allocations: 0.75 kB / 455.1 MB, free: 15.13 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000454/0.006086, allocations: 110.4 kB / 455.2 MB, free: 15 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.581e-05/0.006112, allocations: 63.2 kB / 455.3 MB, free: 14.92 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 1.915e-05/0.006131, allocations: 2.5 kB / 455.3 MB, free: 14.92 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.902e-05/0.00616, allocations: 52.28 kB / 455.3 MB, free: 14.87 MB / 442.7 MB Notification: Performance of SimCode: time 5.31e-07/0.00616, allocations: 0 / 455.3 MB, free: 14.87 MB / 442.7 MB Notification: Performance of Templates: time 0.001701/0.007861, allocations: 0.5049 MB / 455.8 MB, free: 14.43 MB / 442.7 MB " [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.4280340233817697]