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.0007627/0.0007627, allocations: 80.75 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.0009736/0.0009736, 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 1.068/1.068, allocations: 177.1 MB / 203.8 MB, free: 5.48 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.8284/0.8284, allocations: 154.9 MB / 415.1 MB, free: 232 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_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 1.643e-06/1.643e-06, allocations: 0 / 480.4 MB, free: 6.527 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.375e-05/2.539e-05, allocations: 4.562 kB / 480.4 MB, free: 6.523 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.001822/0.001848, allocations: 1.339 MB / 481.7 MB, free: 5.207 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007343/0.002582, allocations: 0.5603 MB / 482.3 MB, free: 4.66 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.916e-05/0.002601, allocations: 4 kB / 482.3 MB, free: 4.656 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 1.609e-05/0.002617, allocations: 3.984 kB / 482.3 MB, free: 4.652 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 4.483e-05/0.002662, allocations: 1.312 kB / 482.3 MB, free: 4.652 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003533/0.003015, allocations: 140.3 kB / 482.5 MB, free: 4.527 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 4.813e-05/0.003063, allocations: 11.16 kB / 482.5 MB, free: 4.52 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.441e-05/0.003098, allocations: 1.062 kB / 482.5 MB, free: 4.52 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.229e-05/0.00313, allocations: 7.938 kB / 482.5 MB, free: 4.512 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.135e-05/0.003171, allocations: 7.984 kB / 482.5 MB, free: 4.504 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.089e-05/0.003182, allocations: 0.75 kB / 482.5 MB, free: 4.504 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000309/0.003491, allocations: 279.4 kB / 482.8 MB, free: 4.23 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.414e-05/0.003505, allocations: 4.859 kB / 482.8 MB, free: 4.227 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 1.092e-05/0.003516, allocations: 0 / 482.8 MB, free: 4.227 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001813/0.003698, allocations: 152 kB / 482.9 MB, free: 4.078 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.425e-06/0.0037, allocations: 0 / 482.9 MB, free: 4.078 MB / 442.7 MB Notification: Performance of FrontEnd: time 7.71e-07/0.003701, allocations: 1.438 kB / 482.9 MB, free: 4.078 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.436e-06/0.003704, allocations: 0 / 482.9 MB, free: 4.078 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.0002378/0.003942, allocations: 260.5 kB / 483.2 MB, free: 3.801 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.979e-05/0.003972, allocations: 12.81 kB / 483.2 MB, free: 3.789 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.078e-05/0.003993, allocations: 0.9375 kB / 483.2 MB, free: 3.789 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.039e-05/0.004063, allocations: 107.2 kB / 483.3 MB, free: 3.66 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.915e-06/0.004071, allocations: 384 / 483.3 MB, free: 3.66 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.648e-06/0.004076, allocations: 384 / 483.3 MB, free: 3.66 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.299e-05/0.004129, allocations: 34.25 kB / 483.3 MB, free: 3.621 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.463e-06/0.004135, allocations: 1.594 kB / 483.3 MB, free: 3.621 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.18e-06/0.00414, allocations: 384 / 483.3 MB, free: 3.621 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.004144, allocations: 1.062 kB / 483.3 MB, free: 3.621 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.031e-05/0.004155, allocations: 7.875 kB / 483.3 MB, free: 3.613 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.457e-05/0.004229, allocations: 58.8 kB / 483.4 MB, free: 3.543 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.452e-05/0.004264, allocations: 23.27 kB / 483.4 MB, free: 3.512 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.103e-05/0.004275, allocations: 8.922 kB / 483.4 MB, free: 3.5 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.137e-05/0.004286, allocations: 0.9375 kB / 483.4 MB, free: 3.5 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.795e-05/0.004304, allocations: 30.56 kB / 483.4 MB, free: 3.461 MB / 442.7 MB Notification: Performance of pre-optimization done (n=2): time 6.42e-07/0.004305, allocations: 1.156 kB / 483.4 MB, free: 3.461 MB / 442.7 MB Notification: Performance of matching and sorting (n=2): time 7.736e-05/0.004382, allocations: 41.62 kB / 483.5 MB, free: 3.414 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.519e-05/0.004407, allocations: 52.03 kB / 483.5 MB, free: 3.352 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.516e-05/0.004452, allocations: 99.34 kB / 483.6 MB, free: 3.242 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 8.687e-06/0.004461, allocations: 25.7 kB / 483.7 MB, free: 3.211 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.785e-05/0.004479, allocations: 84.75 kB / 483.7 MB, free: 3.125 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.472e-05/0.004504, allocations: 20.22 kB / 483.8 MB, free: 3.105 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.97e-05/0.004523, allocations: 10.28 kB / 483.8 MB, free: 3.09 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.092e-05/0.004594, allocations: 323.3 kB / 484.1 MB, free: 2.766 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.831e-06/0.0046, allocations: 0 / 484.1 MB, free: 2.766 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.12e-06/0.004605, allocations: 0.5938 kB / 484.1 MB, free: 2.766 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.975e-05/0.004625, allocations: 13.7 kB / 484.1 MB, free: 2.75 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.004627, allocations: 5.188 kB / 484.1 MB, free: 2.746 MB / 442.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 3.784e-05/0.004665, allocations: 33.69 kB / 484.1 MB, free: 2.707 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/0.004677, allocations: 8 kB / 484.1 MB, free: 2.699 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.004681, allocations: 0.6875 kB / 484.1 MB, free: 2.699 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.019e-05/0.004691, allocations: 0 / 484.1 MB, free: 2.699 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.947e-05/0.004791, allocations: 8.516 kB / 484.2 MB, free: 2.691 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002265/0.005017, allocations: 0.5918 MB / 484.7 MB, free: 2.078 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.118e-05/0.005029, allocations: 0.6094 kB / 484.7 MB, free: 2.078 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.637e-06/0.005032, allocations: 0 / 484.7 MB, free: 2.078 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 4.804e-05/0.00508, allocations: 110.4 kB / 484.9 MB, free: 1.961 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.858e-06/0.005084, allocations: 0 / 484.9 MB, free: 1.961 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.531e-05/0.005149, allocations: 45.98 kB / 484.9 MB, free: 1.914 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.005152, allocations: 3.938 kB / 484.9 MB, free: 1.91 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.062e-06/0.005153, allocations: 0 / 484.9 MB, free: 1.91 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.005156, allocations: 0.5156 kB / 484.9 MB, free: 1.91 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.021e-05/0.005206, allocations: 75.53 kB / 485 MB, free: 1.82 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.005207, allocations: 0 / 485 MB, free: 1.82 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.476e-05/0.005251, allocations: 8 kB / 485 MB, free: 1.812 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.005253, allocations: 0 / 485 MB, free: 1.812 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.056e-06/0.005256, allocations: 1.062 kB / 485 MB, free: 1.812 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001773/0.005434, allocations: 0.5906 MB / 485.6 MB, free: 1.199 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.005435, allocations: 0 / 485.6 MB, free: 1.199 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.873e-05/0.005473, allocations: 59.52 kB / 485.6 MB, free: 1.125 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.322e-06/0.00548, allocations: 3.938 kB / 485.6 MB, free: 1.121 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.995e-06/0.005488, allocations: 9.984 kB / 485.6 MB, free: 1.113 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.522e-06/0.005494, allocations: 0 / 485.6 MB, free: 1.113 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.707e-06/0.005503, allocations: 4 kB / 485.7 MB, free: 1.109 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.974e-06/0.005505, allocations: 0 / 485.7 MB, free: 1.109 MB / 442.7 MB Notification: Performance of sorting global known variables: time 8.406e-06/0.005513, allocations: 8.797 kB / 485.7 MB, free: 1.098 MB / 442.7 MB Notification: Performance of sort global known variables: time 9e-08/0.005513, allocations: 1.188 kB / 485.7 MB, free: 1.098 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001027/0.005616, allocations: 11.94 kB / 485.7 MB, free: 1.086 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.0001154/0.005731, allocations: 93.06 kB / 485.8 MB, free: 0.9844 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 9.113e-05/0.005823, allocations: 17.47 kB / 485.8 MB, free: 0.9648 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.005825, allocations: 0.7188 kB / 485.8 MB, free: 0.9648 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 2.933e-05/0.005855, allocations: 18.19 kB / 485.8 MB, free: 0.9453 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.791e-05/0.005912, allocations: 8 kB / 485.8 MB, free: 0.9375 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002042/0.006117, allocations: 114.6 kB / 485.9 MB, free: 0.8047 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.628e-05/0.006143, allocations: 55.36 kB / 486 MB, free: 0.7305 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 1.311e-05/0.006156, allocations: 0 / 486 MB, free: 0.7305 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.274e-05/0.006179, allocations: 48.16 kB / 486 MB, free: 0.6836 MB / 442.7 MB Notification: Performance of SimCode: time 5.92e-07/0.006179, allocations: 0 / 486 MB, free: 0.6836 MB / 442.7 MB Notification: Performance of Templates: time 0.001911/0.00809, allocations: 0.5444 MB / 486.6 MB, free: 212 kB / 442.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 -s gbode -gbm=radauIIA3 -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.594166918192059]