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.0008368/0.0008368, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.001489/0.001489, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.065/1.065, allocations: 177.1 MB / 204.5 MB, free: 5.508 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.8444/0.8444, allocations: 154.6 MB / 415.6 MB, free: 0.5156 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_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.593e-06/1.593e-06, allocations: 0 / 0.5215 GB, free: 1.922 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.175e-05/2.334e-05, allocations: 2.312 kB / 0.5215 GB, free: 1.918 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.001793/0.001816, allocations: 1.291 MB / 0.5228 GB, free: 0.6367 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006947/0.002511, allocations: 0.5457 MB / 0.5233 GB, free: 96 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.377e-05/0.002535, allocations: 0.5625 kB / 0.5233 GB, free: 96 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 1.596e-05/0.002551, allocations: 0.7812 kB / 0.5233 GB, free: 96 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 3.941e-05/0.00259, allocations: 3.938 kB / 0.5233 GB, free: 92 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004667/0.003057, allocations: 146.6 kB / 0.5235 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 4.259e-05/0.003099, allocations: 11.94 kB / 0.5235 GB, free: 15.94 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 3.471e-05/0.003134, allocations: 3.984 kB / 0.5235 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 2.492e-05/0.003159, allocations: 8 kB / 0.5235 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 3.699e-05/0.003196, allocations: 3.938 kB / 0.5235 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 9.698e-06/0.003206, allocations: 0 / 0.5235 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003018/0.003507, allocations: 267.5 kB / 0.5238 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 1.202e-05/0.003519, allocations: 0.7812 kB / 0.5238 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 1.277e-05/0.003532, allocations: 7.922 kB / 0.5238 GB, free: 15.65 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001851/0.003717, allocations: 152.8 kB / 0.5239 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.943e-06/0.003719, allocations: 0 / 0.5239 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of FrontEnd: time 7.21e-07/0.00372, allocations: 0 / 0.5239 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.278e-06/0.003724, allocations: 0.5 kB / 0.5239 GB, free: 15.5 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.000257/0.003981, allocations: 376.6 kB / 0.5243 GB, free: 15.1 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.095e-05/0.004012, allocations: 12.03 kB / 0.5243 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.658e-05/0.004029, allocations: 1.938 kB / 0.5243 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.457e-05/0.004093, allocations: 108.6 kB / 0.5244 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.716e-06/0.004102, allocations: 4.875 kB / 0.5244 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.869e-06/0.004107, allocations: 384 / 0.5244 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.919e-05/0.004156, allocations: 35.16 kB / 0.5244 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.438e-06/0.004161, allocations: 192 / 0.5244 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.549e-06/0.004165, allocations: 1.156 kB / 0.5244 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.00417, allocations: 4.375 kB / 0.5244 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.048e-05/0.00418, allocations: 8.5 kB / 0.5244 GB, free: 14.9 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.709e-05/0.004267, allocations: 98.59 kB / 0.5245 GB, free: 14.78 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 3.829e-05/0.004306, allocations: 39.08 kB / 0.5246 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.116e-05/0.004317, allocations: 12.56 kB / 0.5246 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.074e-05/0.004328, allocations: 0 / 0.5246 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.62e-05/0.004344, allocations: 35.14 kB / 0.5246 GB, free: 14.67 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=2): time 2.043e-06/0.004346, allocations: 3.984 kB / 0.5246 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2): time 7.785e-05/0.004424, allocations: 41.59 kB / 0.5247 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.425e-05/0.004448, allocations: 55.41 kB / 0.5247 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.654e-05/0.004505, allocations: 155.6 kB / 0.5249 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 7.845e-06/0.004512, allocations: 25.7 kB / 0.5249 GB, free: 14.35 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 3.371e-05/0.004546, allocations: 130.9 kB / 0.525 GB, free: 14.22 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.029e-05/0.004566, allocations: 7.953 kB / 0.525 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.06e-05/0.004587, allocations: 16.12 kB / 0.525 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000115/0.004702, allocations: 0.4922 MB / 0.5255 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.561e-06/0.004708, allocations: 1.312 kB / 0.5255 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.765e-06/0.004715, allocations: 7.984 kB / 0.5255 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.962e-05/0.004735, allocations: 12.56 kB / 0.5255 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.004736, allocations: 0 / 0.5255 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.088e-05/0.004777, allocations: 42.8 kB / 0.5256 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 9.307e-06/0.004786, allocations: 4 kB / 0.5256 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.675e-06/0.004789, allocations: 3.938 kB / 0.5256 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.292e-06/0.004795, allocations: 2.938 kB / 0.5256 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.434e-05/0.004889, allocations: 11.98 kB / 0.5256 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000301/0.00519, allocations: 0.8893 MB / 0.5265 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.231e-05/0.005203, allocations: 3.938 kB / 0.5265 GB, free: 12.67 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.479e-06/0.005207, allocations: 4 kB / 0.5265 GB, free: 12.67 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 6.036e-05/0.005267, allocations: 163.5 kB / 0.5266 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.52e-06/0.005273, allocations: 0 / 0.5266 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.561e-05/0.005339, allocations: 48.53 kB / 0.5267 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-06/0.00534, allocations: 0 / 0.5267 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.523e-06/0.005341, allocations: 0 / 0.5267 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.005345, allocations: 0 / 0.5267 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.768e-05/0.005402, allocations: 105.2 kB / 0.5268 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.005404, allocations: 0 / 0.5268 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.403e-05/0.005448, allocations: 9.5 kB / 0.5268 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.005449, allocations: 0 / 0.5268 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.076e-06/0.005452, allocations: 0 / 0.5268 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002683/0.005721, allocations: 0.9023 MB / 0.5277 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.005721, allocations: 4 kB / 0.5277 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.819e-05/0.00577, allocations: 69.73 kB / 0.5277 GB, free: 11.29 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.622e-06/0.005776, allocations: 3.938 kB / 0.5277 GB, free: 11.29 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.592e-06/0.005783, allocations: 4 kB / 0.5277 GB, free: 11.29 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.993e-06/0.00579, allocations: 3.984 kB / 0.5277 GB, free: 11.28 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.648e-06/0.005799, allocations: 4.781 kB / 0.5277 GB, free: 11.28 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.433e-06/0.005801, allocations: 0 / 0.5277 GB, free: 11.28 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.013e-05/0.005831, allocations: 123.7 kB / 0.5279 GB, free: 11.16 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.005831, allocations: 0.5 kB / 0.5279 GB, free: 11.16 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001255/0.005957, allocations: 7.062 kB / 0.5279 GB, free: 11.15 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.0001114/0.006068, allocations: 119.1 kB / 0.528 GB, free: 11.03 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 9.742e-05/0.006165, allocations: 27.67 kB / 0.528 GB, free: 11 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.006167, allocations: 0 / 0.528 GB, free: 11 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.00018/0.006347, allocations: 22.11 kB / 0.528 GB, free: 10.97 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.041e-05/0.006437, allocations: 4 kB / 0.528 GB, free: 10.97 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002105/0.006648, allocations: 114.3 kB / 0.5281 GB, free: 10.83 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.691e-05/0.006675, allocations: 59.3 kB / 0.5282 GB, free: 10.75 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.097e-05/0.006686, allocations: 1.312 kB / 0.5282 GB, free: 10.75 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.613e-05/0.006712, allocations: 66.2 kB / 0.5283 GB, free: 10.68 MB / 0.4948 GB Notification: Performance of SimCode: time 5.61e-07/0.006712, allocations: 1.531 kB / 0.5283 GB, free: 10.68 MB / 0.4948 GB Notification: Performance of Templates: time 0.001681/0.008394, allocations: 0.5375 MB / 0.5288 GB, free: 10.2 MB / 0.4948 GB " [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.8609139430336654]