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.001889/0.001889, allocations: 88.72 kB / 19.44 MB, free: 356 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.00233/0.00233, allocations: 157.6 kB / 22.75 MB, free: 1.684 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.563/1.563, allocations: 177.1 MB / 203.1 MB, free: 5.609 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.232/1.232, 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 2.134e-06/2.134e-06, allocations: 0 / 0.5196 GB, free: 2.562 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.012e-05/3.225e-05, allocations: 4.719 kB / 0.5196 GB, free: 2.559 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.002994/0.003026, allocations: 1.261 MB / 0.5209 GB, free: 1.305 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001157/0.004184, allocations: 0.5149 MB / 0.5214 GB, free: 0.793 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.167e-05/0.004205, allocations: 0 / 0.5214 GB, free: 0.793 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.177e-05/0.004227, allocations: 3.938 kB / 0.5214 GB, free: 0.7891 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 5.52e-05/0.004282, allocations: 7.922 kB / 0.5214 GB, free: 0.7812 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005571/0.004839, allocations: 137.3 kB / 0.5215 GB, free: 0.6484 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 5.342e-05/0.004893, allocations: 15.92 kB / 0.5215 GB, free: 0.6328 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.646e-05/0.004929, allocations: 0.6875 kB / 0.5215 GB, free: 0.6328 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.151e-05/0.004961, allocations: 4 kB / 0.5215 GB, free: 0.6289 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.07e-05/0.005011, allocations: 4.656 kB / 0.5215 GB, free: 0.625 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.682e-05/0.005028, allocations: 7.938 kB / 0.5215 GB, free: 0.6172 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004734/0.005502, allocations: 268.2 kB / 0.5218 GB, free: 364 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.623e-05/0.005518, allocations: 3.938 kB / 0.5218 GB, free: 360 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.119e-05/0.005539, allocations: 0.9375 kB / 0.5218 GB, free: 360 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002975/0.005837, allocations: 151.6 kB / 0.5219 GB, free: 208 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.005839, allocations: 0 / 0.5219 GB, free: 208 kB / 490.7 MB Notification: Performance of FrontEnd: time 8.02e-07/0.00584, allocations: 2.75 kB / 0.5219 GB, free: 208 kB / 490.7 MB Notification: Performance of Transformations before backend: time 3.646e-06/0.005844, allocations: 3.938 kB / 0.5219 GB, free: 204 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.0004715/0.006315, allocations: 270 kB / 0.5222 GB, free: 15.9 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.511e-05/0.00636, allocations: 12.03 kB / 0.5222 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.355e-05/0.006404, allocations: 0.9375 kB / 0.5222 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001297/0.006534, allocations: 105.8 kB / 0.5223 GB, free: 15.76 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.747e-05/0.006551, allocations: 13.55 kB / 0.5223 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.374e-06/0.006558, allocations: 384 / 0.5223 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001131/0.006672, allocations: 30.27 kB / 0.5224 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.358e-06/0.006681, allocations: 0.75 kB / 0.5224 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.287e-06/0.00669, allocations: 384 / 0.5224 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.006694, allocations: 0.9062 kB / 0.5224 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.072e-05/0.006725, allocations: 8.906 kB / 0.5224 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001676/0.006893, allocations: 105.3 kB / 0.5225 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 6.712e-05/0.00696, allocations: 23.86 kB / 0.5225 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.477e-05/0.006985, allocations: 8.922 kB / 0.5225 GB, free: 15.53 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.632e-05/0.007011, allocations: 4 kB / 0.5225 GB, free: 15.53 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.605e-05/0.007047, allocations: 30.56 kB / 0.5225 GB, free: 15.49 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=2): time 7.71e-07/0.007048, allocations: 0.5625 kB / 0.5225 GB, free: 15.49 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2): time 0.0001761/0.007224, allocations: 46.61 kB / 0.5226 GB, free: 15.44 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.257e-05/0.007276, allocations: 55.41 kB / 0.5226 GB, free: 15.37 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.932e-05/0.007376, allocations: 99.67 kB / 0.5227 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.921e-05/0.007395, allocations: 25.7 kB / 0.5227 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.12e-05/0.007446, allocations: 80.14 kB / 0.5228 GB, free: 15.15 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.763e-05/0.007474, allocations: 7.891 kB / 0.5228 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.632e-05/0.00752, allocations: 18.75 kB / 0.5228 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001853/0.007705, allocations: 314.8 kB / 0.5231 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.579e-05/0.007721, allocations: 4 kB / 0.5232 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.624e-06/0.007729, allocations: 0.8125 kB / 0.5232 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.532e-05/0.007764, allocations: 14.05 kB / 0.5232 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.508e-06/0.007769, allocations: 4 kB / 0.5232 GB, free: 14.78 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.759e-05/0.007836, allocations: 38.7 kB / 0.5232 GB, free: 14.74 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.007851, allocations: 4 kB / 0.5232 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.007855, allocations: 0 / 0.5232 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.185e-05/0.007877, allocations: 6.734 kB / 0.5232 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001681/0.008045, allocations: 15.94 kB / 0.5232 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005295/0.008575, allocations: 0.5899 MB / 0.5238 GB, free: 14.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.141e-05/0.008596, allocations: 3.938 kB / 0.5238 GB, free: 14.1 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.131e-06/0.008602, allocations: 0 / 0.5238 GB, free: 14.1 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.0001004/0.008703, allocations: 112.4 kB / 0.5239 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.051e-05/0.008713, allocations: 7.969 kB / 0.5239 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001246/0.008838, allocations: 48.94 kB / 0.524 GB, free: 13.92 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.008842, allocations: 3.984 kB / 0.524 GB, free: 13.92 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.008847, allocations: 0 / 0.524 GB, free: 13.92 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.594e-06/0.00885, allocations: 0 / 0.524 GB, free: 13.92 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001082/0.008958, allocations: 105.8 kB / 0.5241 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.008959, allocations: 1.156 kB / 0.5241 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.352e-05/0.009032, allocations: 11.98 kB / 0.5241 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.009034, allocations: 0 / 0.5241 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.077e-06/0.009043, allocations: 4.594 kB / 0.5241 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000453/0.009496, allocations: 0.5893 MB / 0.5247 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.009497, allocations: 0 / 0.5247 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.798e-05/0.009595, allocations: 73.03 kB / 0.5247 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.319e-06/0.009601, allocations: 0 / 0.5247 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.608e-06/0.00961, allocations: 0 / 0.5247 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.396e-05/0.009624, allocations: 0 / 0.5247 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.368e-05/0.009638, allocations: 0 / 0.5247 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.611e-06/0.009643, allocations: 4 kB / 0.5247 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 5.38e-05/0.009697, allocations: 77.91 kB / 0.5248 GB, free: 12.99 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.009697, allocations: 0 / 0.5248 GB, free: 12.99 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001911/0.009888, allocations: 11.98 kB / 0.5248 GB, free: 12.98 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.0001917/0.01008, allocations: 107.2 kB / 0.5249 GB, free: 12.87 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001637/0.01024, allocations: 20.67 kB / 0.525 GB, free: 12.85 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.01025, allocations: 3.938 kB / 0.525 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 9.975e-05/0.01035, allocations: 17.27 kB / 0.525 GB, free: 12.83 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001578/0.0105, allocations: 10.25 kB / 0.525 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003799/0.01088, allocations: 103.8 kB / 0.5251 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.014e-05/0.01095, allocations: 59.34 kB / 0.5251 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.564e-05/0.01097, allocations: 0 / 0.5251 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.967e-05/0.011, allocations: 12.5 kB / 0.5252 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of SimCode: time 3.81e-07/0.011, allocations: 0 / 0.5252 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of Templates: time 0.003102/0.0141, allocations: 499.6 kB / 0.5256 GB, free: 12.17 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=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.12154120800551]