Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0008103/0.0008103, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001122/0.001932, 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.0007556/0.0007556, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009093/0.001665, 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.9675/0.9675, allocations: 177.1 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08613/1.054, allocations: 53.67 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/Examples/PPD12/Structure.mo:531:21-535:34: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-master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo): time 0.8091/0.8091, allocations: 155.3 MB / 399.2 MB, free: 15.95 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/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-master/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.3064/1.115, allocations: 49.12 MB / 448.4 MB, free: 6.07 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-master/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_dev_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal") translateModel(IDEAS.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.934e-06/1.934e-06, allocations: 0 / 449.7 MB, free: 4.777 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.997e-05/2.19e-05, allocations: 4.062 kB / 449.7 MB, free: 4.773 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.1593/0.1594, allocations: 161.4 MB / 0.5967 GB, free: 3.289 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.007836/0.1672, allocations: 5.585 MB / 0.6022 GB, free: 13.69 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001572/0.1688, allocations: 79.31 kB / 0.6023 GB, free: 13.61 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.001293/0.1701, allocations: 0.5779 MB / 0.6028 GB, free: 13.03 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.002747/0.1728, allocations: 1.235 MB / 0.604 GB, free: 11.79 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.003375/0.1762, allocations: 1.683 MB / 0.6057 GB, free: 10.1 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.003272/0.1794, allocations: 2.701 MB / 0.6083 GB, free: 7.395 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001404/0.1809, allocations: 0.9679 MB / 0.6093 GB, free: 6.379 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002038/0.1829, allocations: 1.488 MB / 0.6107 GB, free: 4.887 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001036/0.1839, allocations: 0.7517 MB / 0.6115 GB, free: 4.133 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 0.0001741/0.1841, allocations: 104 kB / 0.6116 GB, free: 4.031 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001816/0.1859, allocations: 1.009 MB / 0.6125 GB, free: 3.02 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0002805/0.1862, allocations: 350.9 kB / 0.6129 GB, free: 2.676 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0003955/0.1866, allocations: 375.3 kB / 0.6132 GB, free: 2.309 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.001776/0.1884, allocations: 1.343 MB / 0.6145 GB, free: 0.9609 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.771e-05/0.1884, allocations: 4 kB / 0.6146 GB, free: 0.957 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.824e-06/0.1884, allocations: 3.938 kB / 0.6146 GB, free: 0.9531 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 2.283e-05/0.1884, allocations: 0 / 0.6146 GB, free: 0.9531 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.001533/0.1899, allocations: 1.678 MB / 0.6162 GB, free: 15.24 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.19, allocations: 8.031 kB / 0.6162 GB, free: 15.23 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007019/0.1907, allocations: 380.4 kB / 0.6166 GB, free: 14.84 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008371/0.1915, allocations: 0.7232 MB / 0.6173 GB, free: 14.09 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001524/0.1917, allocations: 291.6 kB / 0.6176 GB, free: 13.76 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.058e-05/0.1917, allocations: 88 kB / 0.6176 GB, free: 13.67 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006198/0.1924, allocations: 0.6388 MB / 0.6183 GB, free: 13 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.77e-05/0.1924, allocations: 3.984 kB / 0.6183 GB, free: 12.99 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.839e-05/0.1924, allocations: 40 kB / 0.6183 GB, free: 12.95 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.35e-05/0.1924, allocations: 20 kB / 0.6183 GB, free: 12.93 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002857/0.1927, allocations: 234.2 kB / 0.6185 GB, free: 12.7 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.001974/0.1947, allocations: 2.181 MB / 0.6207 GB, free: 10.46 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002049/0.1949, allocations: 116.1 kB / 0.6208 GB, free: 10.34 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.451e-05/0.195, allocations: 47.66 kB / 0.6208 GB, free: 10.29 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000215/0.1952, allocations: 91.94 kB / 0.6209 GB, free: 10.2 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.986e-05/0.1952, allocations: 34.56 kB / 0.6209 GB, free: 10.15 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=24): time 2.835e-06/0.1952, allocations: 0 / 0.6209 GB, free: 10.15 MB / 0.6042 GB Notification: Performance of matching and sorting (n=24): time 0.0003871/0.1956, allocations: 201.4 kB / 0.6211 GB, free: 9.949 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.945e-05/0.1956, allocations: 51.41 kB / 0.6212 GB, free: 9.887 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003843/0.196, allocations: 0.5818 MB / 0.6218 GB, free: 9.293 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.547e-05/0.196, allocations: 33.7 kB / 0.6218 GB, free: 9.254 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002089/0.1962, allocations: 469.4 kB / 0.6222 GB, free: 8.785 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.491e-05/0.1963, allocations: 103.1 kB / 0.6223 GB, free: 8.684 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.526e-05/0.1964, allocations: 94.11 kB / 0.6224 GB, free: 8.586 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001173/0.1965, allocations: 390.6 kB / 0.6228 GB, free: 8.195 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.069e-05/0.1965, allocations: 31.81 kB / 0.6228 GB, free: 8.164 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003045/0.1968, allocations: 0.6168 MB / 0.6234 GB, free: 7.352 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002316/0.1971, allocations: 313.7 kB / 0.6237 GB, free: 6.953 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.1971, allocations: 0 / 0.6237 GB, free: 6.953 MB / 0.6042 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0003027/0.1974, allocations: 296.2 kB / 0.624 GB, free: 6.652 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.1974, allocations: 8 kB / 0.624 GB, free: 6.645 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.136e-05/0.1974, allocations: 8.688 kB / 0.624 GB, free: 6.637 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.1974, allocations: 8 kB / 0.624 GB, free: 6.629 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002368/0.1977, allocations: 107.8 kB / 0.6241 GB, free: 6.523 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.024e-05/0.1977, allocations: 15.88 kB / 0.6242 GB, free: 6.508 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002136/0.1979, allocations: 55.62 kB / 0.6242 GB, free: 6.453 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.551e-05/0.1979, allocations: 27.98 kB / 0.6242 GB, free: 6.426 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.0001454/0.1981, allocations: 144.5 kB / 0.6244 GB, free: 6.273 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.173e-05/0.1981, allocations: 47.94 kB / 0.6244 GB, free: 6.227 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002895/0.1984, allocations: 238 kB / 0.6246 GB, free: 5.988 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.267e-06/0.1984, allocations: 3.984 kB / 0.6246 GB, free: 5.984 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.1984, allocations: 4 kB / 0.6247 GB, free: 5.98 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.1984, allocations: 3.938 kB / 0.6247 GB, free: 5.977 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008875/0.1993, allocations: 0.9176 MB / 0.6256 GB, free: 4.953 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.239e-06/0.1993, allocations: 4 kB / 0.6256 GB, free: 4.949 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.272e-05/0.1994, allocations: 47.91 kB / 0.6256 GB, free: 4.902 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001032/0.1995, allocations: 91.44 kB / 0.6257 GB, free: 4.812 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.6e-06/0.1995, allocations: 8 kB / 0.6257 GB, free: 4.805 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.275e-05/0.1995, allocations: 8 kB / 0.6257 GB, free: 4.797 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.194e-06/0.1995, allocations: 12.45 kB / 0.6257 GB, free: 4.785 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.101e-06/0.1995, allocations: 15.88 kB / 0.6257 GB, free: 4.77 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002668/0.1998, allocations: 453.6 kB / 0.6262 GB, free: 4.234 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.707e-05/0.1999, allocations: 19.94 kB / 0.6262 GB, free: 4.215 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001276/0.2, allocations: 8 kB / 0.6262 GB, free: 4.207 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.026e-05/0.2, allocations: 31.84 kB / 0.6262 GB, free: 4.176 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.388e-05/0.2, allocations: 8 kB / 0.6262 GB, free: 4.168 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001897/0.2002, allocations: 284.5 kB / 0.6265 GB, free: 3.895 MB / 0.6042 GB Notification: Performance of sort global known variables: time 8e-08/0.2002, allocations: 4 kB / 0.6265 GB, free: 3.891 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0006077/0.2008, allocations: 315 kB / 0.6268 GB, free: 3.582 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.0003088/0.2011, allocations: 216.3 kB / 0.627 GB, free: 3.359 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000228/0.2014, allocations: 186.3 kB / 0.6272 GB, free: 3.176 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.506e-05/0.2014, allocations: 12 kB / 0.6272 GB, free: 3.164 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 7.321e-05/0.2015, allocations: 73.7 kB / 0.6273 GB, free: 3.094 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007103/0.2022, allocations: 341 kB / 0.6276 GB, free: 2.773 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006003/0.2082, allocations: 1.544 MB / 0.6291 GB, free: 1.129 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001497/0.2083, allocations: 209.7 kB / 0.6293 GB, free: 0.9023 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.000365/0.2087, allocations: 110.1 kB / 0.6294 GB, free: 0.8008 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003823/0.2091, allocations: 239.1 kB / 0.6296 GB, free: 0.5664 MB / 0.6042 GB Notification: Performance of SimCode: time 1.613e-06/0.2091, allocations: 0 / 0.6296 GB, free: 0.5664 MB / 0.6042 GB Notification: Performance of Templates: time 0.01731/0.2264, allocations: 12.71 MB / 0.642 GB, free: 4.25 MB / 0.6198 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.sim & ./IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.9560395600274205]