Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.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.0006971/0.0006971, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008885/0.001586, allocations: 435.8 kB / 10.33 MB, free: 368 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.00102/0.00102, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001141/0.002161, allocations: 463.6 kB / 11.68 MB, free: 2.484 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 0.9965/0.9965, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.101/1.098, allocations: 53.67 MB / 243.2 MB, free: 15.58 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.7915/0.7915, allocations: 154.6 MB / 398.5 MB, free: 0.5039 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. Notification: Performance of NFInstanceAPI.mkTop(): time 0.3085/1.1, allocations: 49.04 MB / 447.6 MB, free: 6.684 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.FMI.Conversion.Validation.AirToOutletFlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal") translateModel(IDEAS.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.202e-06/1.202e-06, allocations: 0 / 448.9 MB, free: 5.391 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.506e-05/1.626e-05, allocations: 3.719 kB / 448.9 MB, free: 5.387 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.1546/0.1546, allocations: 161.4 MB / 0.596 GB, free: 3.91 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.008437/0.1631, allocations: 5.584 MB / 0.6014 GB, free: 14.32 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001457/0.1645, allocations: 79.31 kB / 0.6015 GB, free: 14.24 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.001181/0.1657, allocations: 0.5894 MB / 0.6021 GB, free: 13.64 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.002352/0.1681, allocations: 1.227 MB / 0.6033 GB, free: 12.41 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.003212/0.1713, allocations: 1.685 MB / 0.6049 GB, free: 10.72 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.003439/0.1747, allocations: 2.702 MB / 0.6075 GB, free: 8.016 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001334/0.1761, allocations: 0.9601 MB / 0.6085 GB, free: 7.008 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00198/0.178, allocations: 1.484 MB / 0.6099 GB, free: 5.523 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000985/0.179, allocations: 0.7517 MB / 0.6107 GB, free: 4.77 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 0.0001593/0.1792, allocations: 111.9 kB / 0.6108 GB, free: 4.66 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001749/0.1809, allocations: 1.017 MB / 0.6118 GB, free: 3.641 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0002739/0.1812, allocations: 339 kB / 0.6121 GB, free: 3.309 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0004115/0.1816, allocations: 379.2 kB / 0.6125 GB, free: 2.938 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.002401/0.184, allocations: 1.355 MB / 0.6138 GB, free: 1.578 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.577e-05/0.184, allocations: 0 / 0.6138 GB, free: 1.578 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.393e-06/0.184, allocations: 0 / 0.6138 GB, free: 1.578 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 2.976e-05/0.1841, allocations: 0 / 0.6138 GB, free: 1.578 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 224 * Number of variables: 224 Notification: Performance of Generate backend data structure: time 0.001614/0.1857, allocations: 1.674 MB / 0.6154 GB, free: 15.87 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.043e-05/0.1857, allocations: 8.031 kB / 0.6154 GB, free: 15.86 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007239/0.1864, allocations: 384.3 kB / 0.6158 GB, free: 15.47 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008923/0.1873, allocations: 0.7116 MB / 0.6165 GB, free: 14.73 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001666/0.1875, allocations: 291.6 kB / 0.6168 GB, free: 14.39 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.925e-05/0.1876, allocations: 91.98 kB / 0.6168 GB, free: 14.3 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006166/0.1882, allocations: 0.6388 MB / 0.6175 GB, free: 13.63 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.77e-05/0.1882, allocations: 7.938 kB / 0.6175 GB, free: 13.62 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.374e-05/0.1882, allocations: 39.98 kB / 0.6175 GB, free: 13.58 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.445e-05/0.1883, allocations: 20 kB / 0.6175 GB, free: 13.56 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003217/0.1886, allocations: 230.2 kB / 0.6178 GB, free: 13.33 MB / 0.6042 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002361/0.1909, allocations: 2.188 MB / 0.6199 GB, free: 11.09 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001797/0.1911, allocations: 116.1 kB / 0.62 GB, free: 10.96 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.239e-05/0.1912, allocations: 46.19 kB / 0.62 GB, free: 10.91 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002262/0.1914, allocations: 104 kB / 0.6201 GB, free: 10.81 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.074e-05/0.1914, allocations: 38.5 kB / 0.6202 GB, free: 10.77 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=24): time 3.166e-06/0.1914, allocations: 0 / 0.6202 GB, free: 10.77 MB / 0.6042 GB Notification: Performance of matching and sorting (n=24): time 0.0003786/0.1918, allocations: 193.4 kB / 0.6204 GB, free: 10.57 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.717e-05/0.1918, allocations: 51.41 kB / 0.6204 GB, free: 10.51 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003828/0.1922, allocations: 0.5818 MB / 0.621 GB, free: 9.914 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.774e-05/0.1922, allocations: 33.7 kB / 0.621 GB, free: 9.875 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.000204/0.1924, allocations: 477.3 kB / 0.6215 GB, free: 9.398 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.55e-05/0.1925, allocations: 91.2 kB / 0.6216 GB, free: 9.309 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.611e-05/0.1926, allocations: 90.11 kB / 0.6216 GB, free: 9.211 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.000121/0.1927, allocations: 386.6 kB / 0.622 GB, free: 8.824 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.384e-05/0.1928, allocations: 35.8 kB / 0.622 GB, free: 8.789 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000305/0.1931, allocations: 0.6207 MB / 0.6227 GB, free: 7.977 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002599/0.1933, allocations: 313.7 kB / 0.623 GB, free: 7.578 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.1933, allocations: 0 / 0.623 GB, free: 7.578 MB / 0.6042 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0003571/0.1937, allocations: 292.2 kB / 0.6232 GB, free: 7.281 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.327e-05/0.1937, allocations: 11.94 kB / 0.6232 GB, free: 7.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.363e-05/0.1937, allocations: 12.69 kB / 0.6233 GB, free: 7.258 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.1937, allocations: 12 kB / 0.6233 GB, free: 7.246 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002553/0.194, allocations: 95.89 kB / 0.6234 GB, free: 7.152 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.298e-05/0.194, allocations: 15.88 kB / 0.6234 GB, free: 7.137 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002598/0.1943, allocations: 55.61 kB / 0.6234 GB, free: 7.082 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.769e-05/0.1943, allocations: 24 kB / 0.6234 GB, free: 7.059 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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 (48): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001761/0.1945, allocations: 144.5 kB / 0.6236 GB, free: 6.906 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.746e-05/0.1945, allocations: 47.94 kB / 0.6236 GB, free: 6.859 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003062/0.1948, allocations: 239.4 kB / 0.6239 GB, free: 6.617 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.476e-06/0.1949, allocations: 0 / 0.6239 GB, free: 6.617 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.374e-06/0.1949, allocations: 4 kB / 0.6239 GB, free: 6.613 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.1949, allocations: 7.875 kB / 0.6239 GB, free: 6.605 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001015/0.1959, allocations: 0.9214 MB / 0.6248 GB, free: 5.582 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.342e-06/0.1959, allocations: 4 kB / 0.6248 GB, free: 5.578 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.632e-05/0.196, allocations: 43.92 kB / 0.6248 GB, free: 5.535 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001106/0.1961, allocations: 99.41 kB / 0.6249 GB, free: 5.438 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.752e-06/0.1961, allocations: 8 kB / 0.6249 GB, free: 5.43 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.202e-05/0.1961, allocations: 8 kB / 0.6249 GB, free: 5.422 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.913e-06/0.1961, allocations: 12.47 kB / 0.6249 GB, free: 5.41 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/0.1961, allocations: 11.94 kB / 0.625 GB, free: 5.398 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003015/0.1964, allocations: 448.4 kB / 0.6254 GB, free: 4.863 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.645e-05/0.1965, allocations: 15.95 kB / 0.6254 GB, free: 4.848 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000134/0.1966, allocations: 8 kB / 0.6254 GB, free: 4.84 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.783e-05/0.1966, allocations: 31.84 kB / 0.6254 GB, free: 4.809 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.533e-05/0.1967, allocations: 8 kB / 0.6254 GB, free: 4.801 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002055/0.1969, allocations: 284.5 kB / 0.6257 GB, free: 4.527 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1969, allocations: 7.938 kB / 0.6257 GB, free: 4.52 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0006842/0.1975, allocations: 315 kB / 0.626 GB, free: 4.211 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (24): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003379/0.1979, allocations: 221.9 kB / 0.6262 GB, free: 3.984 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0005464/0.1984, allocations: 178.2 kB / 0.6264 GB, free: 3.809 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-05/0.1984, allocations: 12 kB / 0.6264 GB, free: 3.797 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 7.461e-05/0.1985, allocations: 74.19 kB / 0.6265 GB, free: 3.723 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007191/0.1992, allocations: 354.1 kB / 0.6268 GB, free: 3.395 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00621/0.2054, allocations: 1.544 MB / 0.6283 GB, free: 1.75 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001613/0.2056, allocations: 205.8 kB / 0.6285 GB, free: 1.527 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0003968/0.206, allocations: 109.1 kB / 0.6286 GB, free: 1.422 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003846/0.2064, allocations: 235.1 kB / 0.6289 GB, free: 1.191 MB / 0.6042 GB Notification: Performance of SimCode: time 1.393e-06/0.2064, allocations: 0 / 0.6289 GB, free: 1.191 MB / 0.6042 GB Notification: Performance of Templates: time 0.01721/0.2236, allocations: 12.73 MB / 0.6413 GB, free: 4.836 MB / 0.6198 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; mkfifo IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe >> ../files/IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.sim & ./IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.180684968829155]