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.00102/0.00102, allocations: 80.89 kB / 19.94 MB, free: 4.551 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.001033/0.001033, allocations: 181 kB / 23.36 MB, free: 1.141 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.9868/0.9868, allocations: 177.2 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.837/0.837, allocations: 154.9 MB / 415.1 MB, free: 228 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.383e-06/1.383e-06, allocations: 0 / 480.4 MB, free: 6.57 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.873e-05/2.011e-05, allocations: 4.844 kB / 480.4 MB, free: 6.566 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.001703/0.001723, allocations: 1.293 MB / 481.7 MB, free: 5.293 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008373/0.00256, allocations: 0.5591 MB / 482.2 MB, free: 4.746 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.713e-05/0.002588, allocations: 0.625 kB / 482.2 MB, free: 4.746 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 1.845e-05/0.002606, allocations: 0 / 482.2 MB, free: 4.746 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 5.241e-05/0.002658, allocations: 2.422 kB / 482.2 MB, free: 4.746 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005163/0.003175, allocations: 144.6 kB / 482.4 MB, free: 4.617 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 4.978e-05/0.003225, allocations: 15.81 kB / 482.4 MB, free: 4.605 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.457e-05/0.003259, allocations: 5.922 kB / 482.4 MB, free: 4.602 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.177e-05/0.003291, allocations: 4.875 kB / 482.4 MB, free: 4.598 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.035e-05/0.003331, allocations: 0 / 482.4 MB, free: 4.598 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.169e-05/0.003343, allocations: 4.766 kB / 482.4 MB, free: 4.594 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003032/0.003646, allocations: 272.9 kB / 482.7 MB, free: 4.328 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.276e-05/0.003659, allocations: 1.094 kB / 482.7 MB, free: 4.328 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 1.483e-05/0.003674, allocations: 4 kB / 482.7 MB, free: 4.324 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001892/0.003863, allocations: 155.5 kB / 482.8 MB, free: 4.172 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.224e-06/0.003865, allocations: 0.5312 kB / 482.8 MB, free: 4.172 MB / 442.7 MB Notification: Performance of FrontEnd: time 8.51e-07/0.003866, allocations: 0.6562 kB / 482.8 MB, free: 4.172 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.196e-06/0.003869, allocations: 0 / 482.8 MB, free: 4.172 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.0002504/0.00412, allocations: 253.7 kB / 483.1 MB, free: 3.902 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.141e-05/0.004151, allocations: 8.031 kB / 483.1 MB, free: 3.895 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.094e-05/0.004172, allocations: 0.9375 kB / 483.1 MB, free: 3.895 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.735e-05/0.004239, allocations: 112.9 kB / 483.2 MB, free: 3.762 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.396e-06/0.004248, allocations: 384 / 483.2 MB, free: 3.762 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.506e-06/0.004256, allocations: 384 / 483.2 MB, free: 3.762 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.634e-05/0.004313, allocations: 30.27 kB / 483.2 MB, free: 3.727 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.52e-06/0.004318, allocations: 192 / 483.2 MB, free: 3.727 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.059e-06/0.004323, allocations: 4.312 kB / 483.2 MB, free: 3.723 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.004328, allocations: 384 / 483.2 MB, free: 3.723 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.143e-05/0.004339, allocations: 11.94 kB / 483.2 MB, free: 3.711 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.336e-05/0.004413, allocations: 57.58 kB / 483.3 MB, free: 3.641 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.364e-05/0.004446, allocations: 27.48 kB / 483.3 MB, free: 3.605 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.046e-05/0.004457, allocations: 4.859 kB / 483.3 MB, free: 3.598 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.314e-05/0.00447, allocations: 1.578 kB / 483.3 MB, free: 3.598 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.927e-05/0.004489, allocations: 38.62 kB / 483.4 MB, free: 3.551 MB / 442.7 MB Notification: Performance of pre-optimization done (n=2): time 6.01e-07/0.00449, allocations: 0.9062 kB / 483.4 MB, free: 3.551 MB / 442.7 MB Notification: Performance of matching and sorting (n=2): time 7.906e-05/0.004569, allocations: 37.58 kB / 483.4 MB, free: 3.508 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.766e-05/0.004597, allocations: 60.02 kB / 483.5 MB, free: 3.438 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.838e-05/0.004645, allocations: 95.34 kB / 483.5 MB, free: 3.332 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.319e-05/0.004658, allocations: 30.33 kB / 483.6 MB, free: 3.297 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.852e-05/0.004677, allocations: 84.14 kB / 483.7 MB, free: 3.211 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.957e-05/0.004696, allocations: 8.859 kB / 483.7 MB, free: 3.203 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.067e-05/0.004717, allocations: 13.72 kB / 483.7 MB, free: 3.184 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.852e-05/0.004785, allocations: 323.4 kB / 484 MB, free: 2.859 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.702e-06/0.004792, allocations: 0.5625 kB / 484 MB, free: 2.859 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.232e-06/0.004798, allocations: 4.5 kB / 484 MB, free: 2.855 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.974e-05/0.004818, allocations: 13.61 kB / 484 MB, free: 2.84 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.00482, allocations: 0 / 484 MB, free: 2.84 MB / 442.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 3.869e-05/0.004859, allocations: 39.47 kB / 484.1 MB, free: 2.797 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.046e-05/0.004869, allocations: 4 kB / 484.1 MB, free: 2.793 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.626e-06/0.004873, allocations: 0 / 484.1 MB, free: 2.793 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.417e-06/0.004882, allocations: 0 / 484.1 MB, free: 2.793 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001067/0.004989, allocations: 8.656 kB / 484.1 MB, free: 2.785 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002214/0.00521, allocations: 0.583 MB / 484.6 MB, free: 2.18 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.34e-05/0.005224, allocations: 7.984 kB / 484.7 MB, free: 2.172 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.12e-06/0.005229, allocations: 1.531 kB / 484.7 MB, free: 2.172 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.067e-05/0.005279, allocations: 106.8 kB / 484.8 MB, free: 2.059 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.819e-06/0.005284, allocations: 4 kB / 484.8 MB, free: 2.055 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.488e-05/0.005349, allocations: 45.36 kB / 484.8 MB, free: 2.008 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.005352, allocations: 3.938 kB / 484.8 MB, free: 2.004 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.152e-06/0.005353, allocations: 0.5625 kB / 484.8 MB, free: 2.004 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-06/0.005355, allocations: 0 / 484.8 MB, free: 2.004 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.034e-05/0.005406, allocations: 71.12 kB / 484.9 MB, free: 1.918 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.005407, allocations: 0 / 484.9 MB, free: 1.918 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.476e-05/0.005452, allocations: 11.98 kB / 484.9 MB, free: 1.906 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.005455, allocations: 1.969 kB / 484.9 MB, free: 1.906 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.337e-06/0.005458, allocations: 0 / 484.9 MB, free: 1.906 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001842/0.005643, allocations: 0.5839 MB / 485.5 MB, free: 1.301 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.005643, allocations: 0 / 485.5 MB, free: 1.301 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.104e-05/0.005684, allocations: 61.12 kB / 485.5 MB, free: 1.223 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.963e-06/0.005691, allocations: 4.688 kB / 485.5 MB, free: 1.219 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.514e-06/0.005699, allocations: 4 kB / 485.5 MB, free: 1.215 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.951e-06/0.005705, allocations: 4.781 kB / 485.6 MB, free: 1.211 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.117e-06/0.005714, allocations: 3.938 kB / 485.6 MB, free: 1.207 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.185e-06/0.005716, allocations: 1.156 kB / 485.6 MB, free: 1.207 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.125e-05/0.005727, allocations: 12.84 kB / 485.6 MB, free: 1.191 MB / 442.7 MB Notification: Performance of sort global known variables: time 4e-08/0.005727, allocations: 0 / 485.6 MB, free: 1.191 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001051/0.005832, allocations: 8.812 kB / 485.6 MB, free: 1.184 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.0001145/0.005947, allocations: 93.58 kB / 485.7 MB, free: 1.082 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 9.508e-05/0.006042, allocations: 13.61 kB / 485.7 MB, free: 1.066 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.006046, allocations: 4 kB / 485.7 MB, free: 1.062 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 3.015e-05/0.006076, allocations: 21.34 kB / 485.7 MB, free: 1.039 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.504e-05/0.006131, allocations: 4.531 kB / 485.7 MB, free: 1.035 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002094/0.006341, allocations: 118 kB / 485.8 MB, free: 0.8984 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.293e-05/0.006364, allocations: 56.28 kB / 485.9 MB, free: 0.8242 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 1.158e-05/0.006375, allocations: 0 / 485.9 MB, free: 0.8242 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.463e-05/0.0064, allocations: 52.59 kB / 485.9 MB, free: 0.7734 MB / 442.7 MB Notification: Performance of SimCode: time 4.91e-07/0.0064, allocations: 0 / 485.9 MB, free: 0.7734 MB / 442.7 MB Notification: Performance of Templates: time 0.00194/0.008341, allocations: 0.5332 MB / 486.5 MB, free: 312 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 -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.5668328227475286]