Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0006536/0.0006536, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009323/0.001586, allocations: 440 kB / 10.41 MB, free: 284 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.0006714/0.0006714, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009518/0.001623, allocations: 475.6 kB / 11.79 MB, free: 2.375 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 1.02/1.02, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08425/1.105, allocations: 53.68 MB / 243.4 MB, free: 15.49 MB / 250.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.7435/0.7435, allocations: 154.6 MB / 398.8 MB, free: 388 kB / 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. Notification: Performance of NFInstanceAPI.mkTop(): time 0.2656/1.009, allocations: 49.05 MB / 447.8 MB, free: 6.582 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/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_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_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.813e-06/1.813e-06, allocations: 0 / 449.1 MB, free: 5.273 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.684e-05/1.866e-05, allocations: 2.312 kB / 449.2 MB, free: 5.27 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.001658/0.001677, allocations: 1.35 MB / 450.5 MB, free: 3.949 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006158/0.002293, allocations: 0.562 MB / 451.1 MB, free: 3.398 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.085e-05/0.002313, allocations: 0 / 451.1 MB, free: 3.398 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 6.692e-06/0.00232, allocations: 0 / 451.1 MB, free: 3.398 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 2.343e-05/0.002344, allocations: 1.641 kB / 451.1 MB, free: 3.398 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003381/0.002682, allocations: 139.2 kB / 451.2 MB, free: 3.273 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 5.289e-05/0.002735, allocations: 20.03 kB / 451.2 MB, free: 3.258 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.539e-05/0.00277, allocations: 0.7656 kB / 451.2 MB, free: 3.258 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.365e-05/0.002814, allocations: 4.547 kB / 451.2 MB, free: 3.254 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.843e-05/0.002872, allocations: 10.5 kB / 451.2 MB, free: 3.246 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.335e-05/0.002885, allocations: 1.203 kB / 451.2 MB, free: 3.246 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003252/0.003211, allocations: 276.7 kB / 451.5 MB, free: 2.98 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 1.289e-05/0.003223, allocations: 0 / 451.5 MB, free: 2.98 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 1.436e-05/0.003238, allocations: 4 kB / 451.5 MB, free: 2.977 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001857/0.003424, allocations: 128.3 kB / 451.6 MB, free: 2.852 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.079e-05/0.003434, allocations: 0 / 451.6 MB, free: 2.852 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.91e-07/0.003435, allocations: 0.625 kB / 451.6 MB, free: 2.852 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.279e-05/0.003448, allocations: 0 / 451.6 MB, free: 2.852 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.0003392/0.003787, allocations: 259.7 kB / 451.9 MB, free: 2.574 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.057e-05/0.003817, allocations: 12.03 kB / 451.9 MB, free: 2.562 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.907e-05/0.003846, allocations: 0.9375 kB / 451.9 MB, free: 2.562 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.973e-05/0.003926, allocations: 107.8 kB / 452 MB, free: 2.434 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.528e-06/0.003936, allocations: 4.375 kB / 452 MB, free: 2.43 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.045e-05/0.003946, allocations: 4.375 kB / 452 MB, free: 2.426 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.624e-05/0.004012, allocations: 34.81 kB / 452.1 MB, free: 2.387 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.685e-06/0.00402, allocations: 192 / 452.1 MB, free: 2.387 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.909e-06/0.004025, allocations: 1.281 kB / 452.1 MB, free: 2.387 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.00403, allocations: 384 / 452.1 MB, free: 2.387 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.016e-05/0.00404, allocations: 7.406 kB / 452.1 MB, free: 2.383 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.106e-05/0.004121, allocations: 60.98 kB / 452.1 MB, free: 2.309 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.912e-05/0.00416, allocations: 22.55 kB / 452.1 MB, free: 2.277 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.088e-05/0.004171, allocations: 8.922 kB / 452.2 MB, free: 2.266 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.575e-05/0.004187, allocations: 0.875 kB / 452.2 MB, free: 2.266 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.341e-05/0.00421, allocations: 42.55 kB / 452.2 MB, free: 2.215 MB / 426.7 MB Notification: Performance of pre-optimization done (n=2): time 1.563e-06/0.004212, allocations: 1.281 kB / 452.2 MB, free: 2.215 MB / 426.7 MB Notification: Performance of matching and sorting (n=2): time 7.839e-05/0.00429, allocations: 33.7 kB / 452.2 MB, free: 2.176 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.702e-05/0.004317, allocations: 55.34 kB / 452.3 MB, free: 2.109 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.261e-05/0.00437, allocations: 103.4 kB / 452.4 MB, free: 1.996 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 8.456e-06/0.004378, allocations: 26.7 kB / 452.4 MB, free: 1.965 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.222e-05/0.0044, allocations: 84.12 kB / 452.5 MB, free: 1.879 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.507e-05/0.004425, allocations: 7.953 kB / 452.5 MB, free: 1.871 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.79e-05/0.004443, allocations: 11.03 kB / 452.5 MB, free: 1.855 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.264e-05/0.004516, allocations: 322.8 kB / 452.8 MB, free: 1.531 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.42e-06/0.004521, allocations: 0 / 452.8 MB, free: 1.531 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.959e-06/0.004526, allocations: 4.594 kB / 452.8 MB, free: 1.527 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.913e-05/0.004545, allocations: 14.06 kB / 452.8 MB, free: 1.512 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.004547, allocations: 4 kB / 452.8 MB, free: 1.508 MB / 426.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 3.643e-05/0.004584, allocations: 34.77 kB / 452.9 MB, free: 1.469 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.027e-05/0.004594, allocations: 7.938 kB / 452.9 MB, free: 1.461 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.004598, allocations: 4 kB / 452.9 MB, free: 1.457 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/0.00461, allocations: 1.156 kB / 452.9 MB, free: 1.457 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001144/0.004725, allocations: 7.984 kB / 452.9 MB, free: 1.449 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002302/0.004955, allocations: 0.5789 MB / 453.5 MB, free: 0.8477 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.52e-05/0.00497, allocations: 0 / 453.5 MB, free: 0.8477 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.647e-06/0.004974, allocations: 1.5 kB / 453.5 MB, free: 0.8477 MB / 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.95e-05/0.005023, allocations: 109.8 kB / 453.6 MB, free: 0.7305 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.869e-06/0.005028, allocations: 3.984 kB / 453.6 MB, free: 0.7266 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.194e-05/0.0051, allocations: 46.45 kB / 453.6 MB, free: 0.6758 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.574e-06/0.005103, allocations: 3.938 kB / 453.6 MB, free: 0.6719 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.275e-06/0.005105, allocations: 0.7031 kB / 453.6 MB, free: 0.6719 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.005107, allocations: 0.6875 kB / 453.6 MB, free: 0.6719 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.365e-05/0.005161, allocations: 65.89 kB / 453.7 MB, free: 0.5898 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/0.005163, allocations: 5.094 kB / 453.7 MB, free: 0.5859 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.457e-05/0.005207, allocations: 8 kB / 453.7 MB, free: 0.5781 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.035e-06/0.005215, allocations: 12.48 kB / 453.7 MB, free: 0.5664 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.005217, allocations: 0 / 453.7 MB, free: 0.5664 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.537e-06/0.005221, allocations: 1.219 kB / 453.7 MB, free: 0.5664 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001883/0.005409, allocations: 0.5821 MB / 454.3 MB, free: 15.96 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.00541, allocations: 0.75 kB / 454.3 MB, free: 15.96 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.303e-05/0.005453, allocations: 67.19 kB / 454.4 MB, free: 15.88 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.294e-06/0.005461, allocations: 0.6875 kB / 454.4 MB, free: 15.88 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.466e-06/0.005469, allocations: 4 kB / 454.4 MB, free: 15.88 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.899e-06/0.005479, allocations: 0.625 kB / 454.4 MB, free: 15.88 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.354e-06/0.005481, allocations: 0 / 454.4 MB, free: 15.88 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.043e-05/0.005492, allocations: 5.422 kB / 454.4 MB, free: 15.87 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005492, allocations: 0.625 kB / 454.4 MB, free: 15.87 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.000123/0.005615, allocations: 16.56 kB / 454.4 MB, free: 15.85 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.0001516/0.005766, allocations: 113.2 kB / 454.5 MB, free: 15.73 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 8.581e-05/0.005852, allocations: 22.52 kB / 454.5 MB, free: 15.71 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/0.005857, allocations: 3.938 kB / 454.5 MB, free: 15.7 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 2.435e-05/0.005881, allocations: 16.84 kB / 454.6 MB, free: 15.68 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.672e-05/0.005948, allocations: 0.9062 kB / 454.6 MB, free: 15.68 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004371/0.006385, allocations: 110.3 kB / 454.7 MB, free: 15.55 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.891e-05/0.006414, allocations: 55.36 kB / 454.7 MB, free: 15.48 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 2.024e-05/0.006434, allocations: 0 / 454.7 MB, free: 15.48 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.407e-05/0.006468, allocations: 52.25 kB / 454.8 MB, free: 15.43 MB / 442.7 MB Notification: Performance of SimCode: time 1.112e-06/0.00647, allocations: 0 / 454.8 MB, free: 15.43 MB / 442.7 MB Notification: Performance of Templates: time 0.00181/0.00828, allocations: 0.5179 MB / 455.3 MB, free: 14.98 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & ./IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.3329775696620345]