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.001886/0.001886, allocations: 88.05 kB / 19.44 MB, free: 320 kB / 13.93 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.002165/0.002165, allocations: 173.3 kB / 22.76 MB, free: 1.641 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.597/1.597, allocations: 177.1 MB / 203.1 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] 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 1.314/1.314, allocations: 154.6 MB / 414.2 MB, free: 0.6367 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 178] 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.313e-06/1.313e-06, allocations: 0 / 0.5196 GB, free: 2.535 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.524e-05/2.655e-05, allocations: 2.969 kB / 0.5196 GB, free: 2.531 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.002656/0.002682, allocations: 1.274 MB / 0.5209 GB, free: 1.266 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001157/0.003839, allocations: 0.5487 MB / 0.5214 GB, free: 0.7188 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.15e-05/0.00386, allocations: 0 / 0.5214 GB, free: 0.7188 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 1.647e-05/0.003877, allocations: 8.953 kB / 0.5214 GB, free: 0.7109 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 4.613e-05/0.003923, allocations: 0 / 0.5214 GB, free: 0.7109 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005594/0.004482, allocations: 144.6 kB / 0.5215 GB, free: 0.5703 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 4.452e-05/0.004527, allocations: 4 kB / 0.5216 GB, free: 0.5664 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.962e-05/0.004556, allocations: 6 kB / 0.5216 GB, free: 0.5625 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.646e-05/0.004593, allocations: 8 kB / 0.5216 GB, free: 0.5547 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.756e-05/0.00464, allocations: 11.97 kB / 0.5216 GB, free: 0.543 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.275e-05/0.004653, allocations: 0 / 0.5216 GB, free: 0.543 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004961/0.005149, allocations: 263.4 kB / 0.5218 GB, free: 292 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.447e-05/0.005164, allocations: 5.062 kB / 0.5218 GB, free: 288 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.106e-05/0.005185, allocations: 7.984 kB / 0.5218 GB, free: 280 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003131/0.005498, allocations: 143.5 kB / 0.522 GB, free: 136 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.005502, allocations: 1.438 kB / 0.522 GB, free: 136 kB / 490.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.005503, allocations: 0 / 0.522 GB, free: 136 kB / 490.7 MB Notification: Performance of Transformations before backend: time 3.657e-06/0.005506, allocations: 0 / 0.522 GB, free: 136 kB / 490.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.0005243/0.006031, allocations: 376 kB / 0.5223 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.876e-05/0.006069, allocations: 12.83 kB / 0.5224 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.281e-05/0.006112, allocations: 4.938 kB / 0.5224 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001213/0.006234, allocations: 109.5 kB / 0.5225 GB, free: 15.58 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.172e-05/0.006245, allocations: 384 / 0.5225 GB, free: 15.58 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.464e-06/0.006253, allocations: 1.375 kB / 0.5225 GB, free: 15.58 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001044/0.006357, allocations: 30.27 kB / 0.5225 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.006365, allocations: 4.125 kB / 0.5225 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.294e-06/0.006372, allocations: 0.9688 kB / 0.5225 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-06/0.006376, allocations: 0.875 kB / 0.5225 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.143e-05/0.006407, allocations: 12.95 kB / 0.5225 GB, free: 15.53 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001799/0.006587, allocations: 116.6 kB / 0.5226 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 6.954e-05/0.006657, allocations: 27.09 kB / 0.5226 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.186e-05/0.006689, allocations: 20.59 kB / 0.5227 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.102e-05/0.00671, allocations: 0 / 0.5227 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.514e-05/0.006745, allocations: 34.02 kB / 0.5227 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=2): time 7.31e-07/0.006746, allocations: 4.688 kB / 0.5227 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2): time 0.0001699/0.006916, allocations: 50.8 kB / 0.5228 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.613e-05/0.006962, allocations: 51.41 kB / 0.5228 GB, free: 15.15 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001239/0.007086, allocations: 157.9 kB / 0.523 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.034e-05/0.007106, allocations: 27.52 kB / 0.523 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 7.192e-05/0.007178, allocations: 130.8 kB / 0.5231 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.421e-05/0.007212, allocations: 7.953 kB / 0.5231 GB, free: 14.81 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.927e-05/0.007251, allocations: 23.36 kB / 0.5231 GB, free: 14.78 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002663/0.007518, allocations: 493.9 kB / 0.5236 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.432e-05/0.007532, allocations: 4 kB / 0.5236 GB, free: 14.28 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.474e-06/0.007539, allocations: 0 / 0.5236 GB, free: 14.28 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.859e-05/0.007578, allocations: 23.62 kB / 0.5236 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.00758, allocations: 0.75 kB / 0.5236 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.162e-05/0.007651, allocations: 39.09 kB / 0.5237 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.007666, allocations: 8 kB / 0.5237 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.00767, allocations: 0 / 0.5237 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.007684, allocations: 0 / 0.5237 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001586/0.007842, allocations: 13.34 kB / 0.5237 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006499/0.008492, allocations: 0.9049 MB / 0.5246 GB, free: 13.26 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.104e-05/0.008513, allocations: 4.969 kB / 0.5246 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.99e-06/0.008518, allocations: 0 / 0.5246 GB, free: 13.25 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 0.000111/0.008629, allocations: 157.6 kB / 0.5247 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.314e-05/0.008643, allocations: 3.938 kB / 0.5247 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001146/0.008757, allocations: 48.25 kB / 0.5248 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.265e-06/0.008765, allocations: 7.984 kB / 0.5248 GB, free: 13.03 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/0.008768, allocations: 0 / 0.5248 GB, free: 13.03 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.00877, allocations: 0 / 0.5248 GB, free: 13.03 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001114/0.008882, allocations: 112.6 kB / 0.5249 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.008883, allocations: 0 / 0.5249 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.667e-05/0.00897, allocations: 11.98 kB / 0.5249 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.008971, allocations: 0 / 0.5249 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.566e-06/0.00898, allocations: 7.875 kB / 0.5249 GB, free: 12.87 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005868/0.009567, allocations: 0.8962 MB / 0.5258 GB, free: 11.95 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.009568, allocations: 0 / 0.5258 GB, free: 11.95 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001051/0.009673, allocations: 80.38 kB / 0.5259 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.911e-06/0.009679, allocations: 0 / 0.5259 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.325e-05/0.009692, allocations: 7.938 kB / 0.5259 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.434e-05/0.009707, allocations: 0 / 0.5259 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.046e-05/0.009727, allocations: 5.484 kB / 0.5259 GB, free: 11.83 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.695e-06/0.00973, allocations: 0 / 0.5259 GB, free: 11.83 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 7.156e-05/0.009801, allocations: 123.2 kB / 0.526 GB, free: 11.71 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.009801, allocations: 5.219 kB / 0.526 GB, free: 11.71 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001923/0.009994, allocations: 8 kB / 0.526 GB, free: 11.7 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.0002022/0.0102, allocations: 111.8 kB / 0.5261 GB, free: 11.58 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001801/0.01038, allocations: 24.3 kB / 0.5261 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.01038, allocations: 0.5 kB / 0.5261 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001081/0.01049, allocations: 26.36 kB / 0.5262 GB, free: 11.53 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001395/0.01063, allocations: 6.75 kB / 0.5262 GB, free: 11.52 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003263/0.01095, allocations: 110.3 kB / 0.5263 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.864e-05/0.01102, allocations: 59.34 kB / 0.5263 GB, free: 11.31 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.375e-05/0.01103, allocations: 2.438 kB / 0.5263 GB, free: 11.31 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.013e-05/0.01105, allocations: 8.5 kB / 0.5263 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of SimCode: time 4.71e-07/0.01105, allocations: 0 / 0.5263 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of Templates: time 0.0033/0.01435, allocations: 497.3 kB / 0.5268 GB, free: 10.87 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: 6.107332970947027]