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.0009656/0.0009656, allocations: 80.88 kB / 19.94 MB, free: 4.547 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.001383/0.001383, allocations: 181 kB / 23.36 MB, free: 1.133 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 0.9722/0.9722, allocations: 177.1 MB / 203.8 MB, free: 5.484 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.7772/0.7772, allocations: 154.6 MB / 414.8 MB, free: 0.5234 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.122e-06/1.122e-06, allocations: 0 / 480 MB, free: 6.957 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.835e-05/1.948e-05, allocations: 2.312 kB / 480 MB, free: 6.953 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.001555/0.001574, allocations: 1.31 MB / 481.3 MB, free: 5.664 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007614/0.002335, allocations: 0.5517 MB / 481.9 MB, free: 5.121 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.862e-05/0.002354, allocations: 0 / 481.9 MB, free: 5.121 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 1.472e-05/0.002369, allocations: 0.5469 kB / 481.9 MB, free: 5.121 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 4.282e-05/0.002412, allocations: 5.969 kB / 481.9 MB, free: 5.117 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003554/0.002767, allocations: 143.9 kB / 482 MB, free: 4.988 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 4.6e-05/0.002813, allocations: 11.39 kB / 482 MB, free: 4.98 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.37e-05/0.002847, allocations: 4.875 kB / 482 MB, free: 4.977 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.993e-05/0.002877, allocations: 7.984 kB / 482 MB, free: 4.969 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.122e-05/0.002918, allocations: 1.75 kB / 482 MB, free: 4.969 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.047e-05/0.002928, allocations: 0 / 482 MB, free: 4.969 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002707/0.003199, allocations: 272.9 kB / 482.3 MB, free: 4.703 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.154e-05/0.003211, allocations: 4.531 kB / 482.3 MB, free: 4.699 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 1.137e-05/0.003222, allocations: 0 / 482.3 MB, free: 4.699 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001802/0.003402, allocations: 152.2 kB / 482.4 MB, free: 4.551 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.265e-06/0.003404, allocations: 0 / 482.4 MB, free: 4.551 MB / 442.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.003405, allocations: 1.25 kB / 482.4 MB, free: 4.551 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.306e-06/0.003408, allocations: 0 / 482.4 MB, free: 4.551 MB / 442.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.000252/0.00366, allocations: 251.5 kB / 482.7 MB, free: 4.281 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.077e-05/0.003691, allocations: 13.53 kB / 482.7 MB, free: 4.27 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.199e-05/0.003713, allocations: 0.9375 kB / 482.7 MB, free: 4.27 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.481e-05/0.003788, allocations: 105.8 kB / 482.8 MB, free: 4.141 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.676e-06/0.003796, allocations: 6.469 kB / 482.8 MB, free: 4.137 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.616e-06/0.003805, allocations: 4.375 kB / 482.8 MB, free: 4.133 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.794e-05/0.003863, allocations: 38.19 kB / 482.9 MB, free: 4.09 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.773e-06/0.00387, allocations: 192 / 482.9 MB, free: 4.09 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.49e-06/0.003875, allocations: 384 / 482.9 MB, free: 4.09 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.003881, allocations: 384 / 482.9 MB, free: 4.09 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.103e-05/0.003892, allocations: 4.844 kB / 482.9 MB, free: 4.086 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.206e-05/0.003974, allocations: 57.05 kB / 482.9 MB, free: 4.016 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.354e-05/0.004008, allocations: 19.48 kB / 482.9 MB, free: 3.988 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.269e-05/0.00402, allocations: 13.77 kB / 483 MB, free: 3.973 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.288e-05/0.004033, allocations: 3.938 kB / 483 MB, free: 3.969 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.939e-05/0.004053, allocations: 34.56 kB / 483 MB, free: 3.926 MB / 442.7 MB Notification: Performance of pre-optimization done (n=2): time 5.91e-07/0.004053, allocations: 0.625 kB / 483 MB, free: 3.926 MB / 442.7 MB Notification: Performance of matching and sorting (n=2): time 8.616e-05/0.004139, allocations: 38.31 kB / 483 MB, free: 3.883 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.221e-05/0.004172, allocations: 52.03 kB / 483.1 MB, free: 3.82 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.698e-05/0.004229, allocations: 99.34 kB / 483.2 MB, free: 3.711 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 9.077e-06/0.004238, allocations: 25.7 kB / 483.2 MB, free: 3.68 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.151e-05/0.004259, allocations: 80.77 kB / 483.3 MB, free: 3.598 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.464e-05/0.004284, allocations: 16.84 kB / 483.3 MB, free: 3.582 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.022e-05/0.004304, allocations: 13.7 kB / 483.3 MB, free: 3.562 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.423e-05/0.004388, allocations: 319.6 kB / 483.6 MB, free: 3.242 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.903e-06/0.004395, allocations: 3.938 kB / 483.6 MB, free: 3.238 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.611e-06/0.004401, allocations: 1.781 kB / 483.6 MB, free: 3.238 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.999e-05/0.004421, allocations: 16.84 kB / 483.6 MB, free: 3.219 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.004422, allocations: 0 / 483.6 MB, free: 3.219 MB / 442.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 3.347e-05/0.004456, allocations: 34.36 kB / 483.7 MB, free: 3.18 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.149e-05/0.004467, allocations: 8 kB / 483.7 MB, free: 3.172 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.004472, allocations: 0.9688 kB / 483.7 MB, free: 3.172 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/0.004484, allocations: 0 / 483.7 MB, free: 3.172 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001154/0.004599, allocations: 7.984 kB / 483.7 MB, free: 3.164 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002556/0.004855, allocations: 0.5831 MB / 484.3 MB, free: 2.559 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.09e-05/0.004866, allocations: 0.7812 kB / 484.3 MB, free: 2.559 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.759e-06/0.00487, allocations: 0 / 484.3 MB, free: 2.559 MB / 442.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 5.122e-05/0.004922, allocations: 115 kB / 484.4 MB, free: 2.438 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.527e-06/0.004925, allocations: 0 / 484.4 MB, free: 2.438 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.819e-05/0.005003, allocations: 47.62 kB / 484.4 MB, free: 2.391 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.005007, allocations: 3.938 kB / 484.4 MB, free: 2.387 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.703e-06/0.005008, allocations: 3.938 kB / 484.4 MB, free: 2.383 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.005013, allocations: 4 kB / 484.4 MB, free: 2.379 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.475e-05/0.005067, allocations: 70.47 kB / 484.5 MB, free: 2.293 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.005069, allocations: 0.75 kB / 484.5 MB, free: 2.293 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.238e-05/0.005111, allocations: 4 kB / 484.5 MB, free: 2.289 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.005113, allocations: 4.844 kB / 484.5 MB, free: 2.285 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.898e-06/0.005117, allocations: 0 / 484.5 MB, free: 2.285 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001979/0.005315, allocations: 0.5871 MB / 485.1 MB, free: 1.676 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.005316, allocations: 7.203 kB / 485.1 MB, free: 1.672 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.697e-05/0.005353, allocations: 57.08 kB / 485.2 MB, free: 1.598 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.374e-06/0.00536, allocations: 9.266 kB / 485.2 MB, free: 1.59 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.781e-06/0.005366, allocations: 0 / 485.2 MB, free: 1.59 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.232e-06/0.005372, allocations: 0 / 485.2 MB, free: 1.59 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.806e-06/0.005381, allocations: 4 kB / 485.2 MB, free: 1.586 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.904e-06/0.005383, allocations: 0.6875 kB / 485.2 MB, free: 1.586 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.042e-05/0.005393, allocations: 9.438 kB / 485.2 MB, free: 1.574 MB / 442.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.005393, allocations: 0 / 485.2 MB, free: 1.574 MB / 442.7 MB Notification: Performance of remove unused functions: time 9.877e-05/0.005492, allocations: 13.38 kB / 485.2 MB, free: 1.562 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.0001089/0.005601, allocations: 89.09 kB / 485.3 MB, free: 1.465 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 9.155e-05/0.005693, allocations: 22 kB / 485.3 MB, free: 1.441 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.005695, allocations: 0 / 485.3 MB, free: 1.441 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 3.058e-05/0.005725, allocations: 20.78 kB / 485.3 MB, free: 1.418 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.091e-05/0.005786, allocations: 12.69 kB / 485.4 MB, free: 1.41 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002172/0.006003, allocations: 110 kB / 485.5 MB, free: 1.281 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.46e-05/0.006028, allocations: 55.36 kB / 485.5 MB, free: 1.207 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 1.331e-05/0.006041, allocations: 1.094 kB / 485.5 MB, free: 1.207 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.534e-05/0.006066, allocations: 47.38 kB / 485.6 MB, free: 1.16 MB / 442.7 MB Notification: Performance of SimCode: time 3.81e-07/0.006067, allocations: 2.219 kB / 485.6 MB, free: 1.16 MB / 442.7 MB Notification: Performance of Templates: time 0.002207/0.008274, allocations: 0.5152 MB / 486.1 MB, free: 0.7031 MB / 442.7 MB " [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.532971956767142]