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.001074/0.001074, 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.001107/0.001107, allocations: 173 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.096/1.096, 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.7838/0.7838, allocations: 154.9 MB / 414.8 MB, free: 416 kB / 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 1.433e-06/1.433e-06, allocations: 0 / 0.5207 GB, free: 1.824 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.58e-05/1.723e-05, allocations: 2.312 kB / 0.5207 GB, free: 1.82 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.004922/0.004939, allocations: 1.305 MB / 0.522 GB, free: 0.5273 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008937/0.005833, allocations: 0.5532 MB / 0.5225 GB, free: 15.97 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.481e-05/0.005857, allocations: 1 kB / 0.5225 GB, free: 15.97 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 2.361e-05/0.005881, allocations: 0 / 0.5225 GB, free: 15.97 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 4.764e-05/0.005929, allocations: 3.828 kB / 0.5225 GB, free: 15.97 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005079/0.006437, allocations: 145.9 kB / 0.5226 GB, free: 15.83 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 6.223e-05/0.006499, allocations: 7.938 kB / 0.5226 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 4.295e-05/0.006542, allocations: 4 kB / 0.5227 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 3.51e-05/0.006577, allocations: 11.92 kB / 0.5227 GB, free: 15.81 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 4.217e-05/0.006619, allocations: 0.8125 kB / 0.5227 GB, free: 15.81 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.351e-05/0.006632, allocations: 0 / 0.5227 GB, free: 15.81 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003922/0.007025, allocations: 275.3 kB / 0.5229 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 1.364e-05/0.007038, allocations: 5.219 kB / 0.5229 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 1.64e-05/0.007055, allocations: 0 / 0.5229 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002315/0.007286, allocations: 147.5 kB / 0.5231 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.604e-06/0.007289, allocations: 0.625 kB / 0.5231 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of FrontEnd: time 7.71e-07/0.00729, allocations: 0 / 0.5231 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.088e-06/0.007294, allocations: 1.812 kB / 0.5231 GB, free: 15.39 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.0006465/0.00794, allocations: 376 kB / 0.5234 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.577e-05/0.007976, allocations: 8.031 kB / 0.5234 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.817e-05/0.008014, allocations: 4.938 kB / 0.5234 GB, free: 14.97 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.692e-05/0.008091, allocations: 106.2 kB / 0.5235 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.066e-05/0.008102, allocations: 384 / 0.5235 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.438e-06/0.008111, allocations: 4.375 kB / 0.5236 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.54e-05/0.008187, allocations: 34.27 kB / 0.5236 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.274e-06/0.008194, allocations: 9.406 kB / 0.5236 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.939e-06/0.008204, allocations: 4.359 kB / 0.5236 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/0.008211, allocations: 384 / 0.5236 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.535e-05/0.008226, allocations: 4.562 kB / 0.5236 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001223/0.008349, allocations: 109 kB / 0.5237 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 4.93e-05/0.008398, allocations: 31.84 kB / 0.5237 GB, free: 14.6 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.802e-05/0.008416, allocations: 13.22 kB / 0.5238 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.71e-05/0.008433, allocations: 3.984 kB / 0.5238 GB, free: 14.58 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.203e-05/0.008455, allocations: 33.39 kB / 0.5238 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=2): time 8.22e-07/0.008456, allocations: 4 kB / 0.5238 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2): time 0.0003813/0.008837, allocations: 46.78 kB / 0.5238 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.582e-05/0.008863, allocations: 51.41 kB / 0.5239 GB, free: 14.42 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.353e-05/0.008927, allocations: 165.5 kB / 0.524 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 9.729e-06/0.008936, allocations: 25.7 kB / 0.5241 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 2.692e-05/0.008963, allocations: 126.9 kB / 0.5242 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.623e-05/0.00899, allocations: 11.89 kB / 0.5242 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.287e-05/0.009012, allocations: 19.38 kB / 0.5242 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001018/0.009114, allocations: 492.1 kB / 0.5247 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.075e-05/0.009125, allocations: 7.938 kB / 0.5247 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.342e-06/0.009131, allocations: 0 / 0.5247 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.038e-05/0.009162, allocations: 24.14 kB / 0.5247 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.009164, allocations: 1.812 kB / 0.5247 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.59e-05/0.00921, allocations: 33.7 kB / 0.5248 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/0.009223, allocations: 8 kB / 0.5248 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.009228, allocations: 0 / 0.5248 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/0.009242, allocations: 2.062 kB / 0.5248 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001573/0.009399, allocations: 11.98 kB / 0.5248 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000348/0.009747, allocations: 0.8971 MB / 0.5256 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.537e-05/0.009762, allocations: 0 / 0.5256 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.272e-06/0.009769, allocations: 2.75 kB / 0.5256 GB, free: 12.54 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.075e-05/0.009839, allocations: 160.6 kB / 0.5258 GB, free: 12.37 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.101e-06/0.009846, allocations: 3.938 kB / 0.5258 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.911e-05/0.009945, allocations: 45 kB / 0.5258 GB, free: 12.31 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.009947, allocations: 0 / 0.5258 GB, free: 12.31 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.009952, allocations: 0 / 0.5258 GB, free: 12.31 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.009957, allocations: 5.578 kB / 0.5259 GB, free: 12.31 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.897e-05/0.01004, allocations: 116.6 kB / 0.526 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.01004, allocations: 0 / 0.526 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.571e-05/0.01009, allocations: 8 kB / 0.526 GB, free: 12.15 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.155e-06/0.0101, allocations: 0.9375 kB / 0.526 GB, free: 12.15 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.015e-06/0.0101, allocations: 7.875 kB / 0.526 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002839/0.01039, allocations: 0.8981 MB / 0.5269 GB, free: 11.22 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.01039, allocations: 4 kB / 0.5269 GB, free: 11.21 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.105e-05/0.01044, allocations: 73.23 kB / 0.5269 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.603e-06/0.01045, allocations: 0.6562 kB / 0.5269 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.076e-05/0.01046, allocations: 11.92 kB / 0.5269 GB, free: 11.11 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.082e-06/0.01047, allocations: 0.75 kB / 0.5269 GB, free: 11.11 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.594e-05/0.01048, allocations: 0 / 0.5269 GB, free: 11.11 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.285e-06/0.01048, allocations: 2.812 kB / 0.5269 GB, free: 11.11 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.261e-05/0.01052, allocations: 127.2 kB / 0.5271 GB, free: 10.98 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6.1e-08/0.01052, allocations: 0 / 0.5271 GB, free: 10.98 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.000133/0.01065, allocations: 11.94 kB / 0.5271 GB, free: 10.97 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.0001211/0.01077, allocations: 107.2 kB / 0.5272 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001376/0.01091, allocations: 30.73 kB / 0.5272 GB, free: 10.83 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.01091, allocations: 0 / 0.5272 GB, free: 10.83 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 3.523e-05/0.01095, allocations: 23.67 kB / 0.5272 GB, free: 10.8 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000105/0.01105, allocations: 11.67 kB / 0.5272 GB, free: 10.79 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002744/0.01132, allocations: 117.5 kB / 0.5274 GB, free: 10.65 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.771e-05/0.01135, allocations: 55.36 kB / 0.5274 GB, free: 10.58 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.324e-05/0.01137, allocations: 0 / 0.5274 GB, free: 10.58 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.333e-05/0.01138, allocations: 8.5 kB / 0.5274 GB, free: 10.57 MB / 0.4948 GB Notification: Performance of SimCode: time 4.41e-07/0.01138, allocations: 0 / 0.5274 GB, free: 10.57 MB / 0.4948 GB Notification: Performance of Templates: time 0.002278/0.01366, allocations: 0.4997 MB / 0.5279 GB, free: 10.12 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.8121661418117583]