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.0009567/0.0009567, allocations: 81.95 kB / 19.87 MB, free: 4.621 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.001091/0.001091, allocations: 169.7 kB / 23.28 MB, free: 1.219 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.046/1.046, allocations: 177.1 MB / 203.7 MB, free: 5.512 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.802/0.802, allocations: 154.6 MB / 414.8 MB, free: 0.5352 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.983e-06/1.983e-06, allocations: 0 / 0.5208 GB, free: 1.938 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.457e-05/1.655e-05, allocations: 3.297 kB / 0.5208 GB, free: 1.934 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.001598/0.001615, allocations: 1.29 MB / 0.522 GB, free: 0.6484 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007442/0.002359, allocations: 0.5474 MB / 0.5226 GB, free: 108 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.778e-05/0.002387, allocations: 0.9688 kB / 0.5226 GB, free: 108 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 1.747e-05/0.002404, allocations: 0 / 0.5226 GB, free: 108 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 4.565e-05/0.00245, allocations: 4 kB / 0.5226 GB, free: 104 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004248/0.002875, allocations: 149.2 kB / 0.5227 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 4.241e-05/0.002917, allocations: 7.938 kB / 0.5227 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 3.656e-05/0.002954, allocations: 0 / 0.5227 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 3.412e-05/0.002988, allocations: 12.73 kB / 0.5227 GB, free: 15.94 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 4.478e-05/0.003033, allocations: 4 kB / 0.5227 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.166e-05/0.003044, allocations: 0.7188 kB / 0.5227 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002935/0.003338, allocations: 267.4 kB / 0.523 GB, free: 15.67 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 1.53e-05/0.003353, allocations: 4.562 kB / 0.523 GB, free: 15.67 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 1.422e-05/0.003367, allocations: 4.719 kB / 0.523 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002034/0.003571, allocations: 147.5 kB / 0.5231 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.003573, allocations: 1.438 kB / 0.5231 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of FrontEnd: time 7.01e-07/0.003574, allocations: 0 / 0.5231 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.502e-06/0.003581, allocations: 4 kB / 0.5231 GB, free: 15.52 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.000324/0.003905, allocations: 372 kB / 0.5235 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/0.003944, allocations: 8.812 kB / 0.5235 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.483e-05/0.003969, allocations: 0.9375 kB / 0.5235 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.792e-05/0.004047, allocations: 109.8 kB / 0.5236 GB, free: 14.97 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.02e-05/0.004057, allocations: 3.5 kB / 0.5236 GB, free: 14.97 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.432e-06/0.004063, allocations: 4.375 kB / 0.5236 GB, free: 14.97 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.34e-05/0.004127, allocations: 34.2 kB / 0.5237 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.004134, allocations: 192 / 0.5237 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.512e-06/0.004141, allocations: 4.359 kB / 0.5237 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.59e-06/0.004146, allocations: 384 / 0.5237 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.27e-05/0.004159, allocations: 7.938 kB / 0.5237 GB, free: 14.92 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001106/0.00427, allocations: 97.22 kB / 0.5238 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 4.681e-05/0.004316, allocations: 39.52 kB / 0.5238 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.238e-05/0.004329, allocations: 12.69 kB / 0.5238 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.089e-05/0.00435, allocations: 3.172 kB / 0.5238 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.508e-05/0.004375, allocations: 42.03 kB / 0.5239 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=2): time 5.71e-07/0.004375, allocations: 3.938 kB / 0.5239 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2): time 0.0001048/0.00448, allocations: 34.67 kB / 0.5239 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.659e-05/0.004507, allocations: 51.41 kB / 0.5239 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.518e-05/0.004572, allocations: 154.9 kB / 0.5241 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 7.955e-06/0.00458, allocations: 26.64 kB / 0.5241 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 3.435e-05/0.004614, allocations: 126.9 kB / 0.5242 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.776e-05/0.004642, allocations: 15.88 kB / 0.5242 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.202e-05/0.004664, allocations: 20.09 kB / 0.5243 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001171/0.004781, allocations: 0.4883 MB / 0.5247 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.112e-06/0.004787, allocations: 5.031 kB / 0.5247 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.133e-06/0.004794, allocations: 4 kB / 0.5248 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.175e-05/0.004816, allocations: 16.84 kB / 0.5248 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.004818, allocations: 0 / 0.5248 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.402e-05/0.004862, allocations: 42.31 kB / 0.5248 GB, free: 13.63 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.062e-05/0.004872, allocations: 8 kB / 0.5248 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.004877, allocations: 1.625 kB / 0.5248 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.00489, allocations: 0 / 0.5248 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001187/0.005009, allocations: 11.98 kB / 0.5248 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003431/0.005352, allocations: 0.8943 MB / 0.5257 GB, free: 12.69 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.69e-05/0.005369, allocations: 0 / 0.5257 GB, free: 12.69 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.218e-06/0.005373, allocations: 0 / 0.5257 GB, free: 12.69 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.488e-05/0.005438, allocations: 153.4 kB / 0.5259 GB, free: 12.53 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.652e-06/0.005445, allocations: 9.781 kB / 0.5259 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.011e-05/0.005515, allocations: 48.53 kB / 0.5259 GB, free: 12.47 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.005517, allocations: 0 / 0.5259 GB, free: 12.47 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.653e-06/0.005518, allocations: 0 / 0.5259 GB, free: 12.47 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.005521, allocations: 1.531 kB / 0.5259 GB, free: 12.47 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.974e-05/0.005581, allocations: 101.2 kB / 0.526 GB, free: 12.35 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.005583, allocations: 0 / 0.526 GB, free: 12.35 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.959e-05/0.005633, allocations: 11.98 kB / 0.526 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.005635, allocations: 6.688 kB / 0.526 GB, free: 12.33 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.917e-06/0.005639, allocations: 0 / 0.526 GB, free: 12.33 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002983/0.005937, allocations: 0.9009 MB / 0.5269 GB, free: 11.4 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.005938, allocations: 0 / 0.5269 GB, free: 11.4 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.936e-05/0.005997, allocations: 76.44 kB / 0.527 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.276e-05/0.00601, allocations: 10 kB / 0.527 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.746e-06/0.006019, allocations: 0 / 0.527 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.143e-06/0.006026, allocations: 0 / 0.527 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.23e-05/0.006038, allocations: 0 / 0.527 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.244e-06/0.006041, allocations: 4 kB / 0.527 GB, free: 11.29 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.604e-05/0.006077, allocations: 125.5 kB / 0.5271 GB, free: 11.17 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4e-08/0.006077, allocations: 0 / 0.5271 GB, free: 11.17 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001212/0.006198, allocations: 11.94 kB / 0.5271 GB, free: 11.16 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.0001191/0.006317, allocations: 103.2 kB / 0.5272 GB, free: 11.05 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001003/0.006417, allocations: 28.55 kB / 0.5272 GB, free: 11.02 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.272e-06/0.006419, allocations: 0 / 0.5272 GB, free: 11.02 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 3.047e-05/0.006449, allocations: 20.34 kB / 0.5273 GB, free: 11 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.409e-05/0.006543, allocations: 7.328 kB / 0.5273 GB, free: 10.99 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002171/0.00676, allocations: 122.2 kB / 0.5274 GB, free: 10.84 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.033e-05/0.00679, allocations: 55.34 kB / 0.5274 GB, free: 10.77 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.238e-05/0.006803, allocations: 0 / 0.5274 GB, free: 10.77 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.296e-05/0.006836, allocations: 70.2 kB / 0.5275 GB, free: 10.7 MB / 0.4948 GB Notification: Performance of SimCode: time 5.91e-07/0.006836, allocations: 3.062 kB / 0.5275 GB, free: 10.7 MB / 0.4948 GB Notification: Performance of Templates: time 0.00189/0.008727, allocations: 0.528 MB / 0.528 GB, free: 10.23 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.782644066028297]