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.0009969/0.0009969, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.001566/0.001566, allocations: 177 kB / 23.36 MB, free: 1.133 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.013/1.013, allocations: 177.2 MB / 203.8 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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 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 master/package.mo): time 0.7858/0.7858, allocations: 154.9 MB / 415.1 MB, free: 240 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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 master/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 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.854e-06/1.854e-06, allocations: 0 / 480.4 MB, free: 6.531 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.169e-05/2.354e-05, allocations: 6.141 kB / 480.4 MB, free: 6.527 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.1516/0.1516, allocations: 160.8 MB / 0.6262 GB, free: 5.527 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.008541/0.1602, allocations: 5.546 MB / 0.6316 GB, free: 15.97 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001517/0.1617, allocations: 79.31 kB / 0.6317 GB, free: 15.89 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001358/0.163, allocations: 0.5584 MB / 0.6322 GB, free: 15.33 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.002736/0.1658, allocations: 1.251 MB / 0.6334 GB, free: 14.07 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.003617/0.1694, allocations: 1.717 MB / 0.6351 GB, free: 12.35 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.003975/0.1734, allocations: 2.703 MB / 0.6378 GB, free: 9.637 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001503/0.1749, allocations: 1.003 MB / 0.6387 GB, free: 8.582 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002355/0.1772, allocations: 1.454 MB / 0.6402 GB, free: 7.125 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001445/0.1787, allocations: 0.7594 MB / 0.6409 GB, free: 6.363 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0002568/0.1789, allocations: 108 kB / 0.641 GB, free: 6.258 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002239/0.1812, allocations: 0.9972 MB / 0.642 GB, free: 5.258 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0004628/0.1816, allocations: 406.7 kB / 0.6424 GB, free: 4.859 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0007671/0.1824, allocations: 435 kB / 0.6428 GB, free: 4.434 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.003404/0.1858, allocations: 1.479 MB / 0.6442 GB, free: 2.945 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.1858, allocations: 0 / 0.6442 GB, free: 2.945 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.412e-06/0.1858, allocations: 0 / 0.6442 GB, free: 2.945 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.11e-05/0.1858, allocations: 0 / 0.6442 GB, free: 2.945 MB / 0.6042 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.001885/0.1877, allocations: 1.377 MB / 0.6456 GB, free: 1.539 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.156e-05/0.1878, allocations: 12.03 kB / 0.6456 GB, free: 1.527 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008031/0.1886, allocations: 291.3 kB / 0.6459 GB, free: 1.242 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009806/0.1896, allocations: 0.7233 MB / 0.6466 GB, free: 500 kB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001635/0.1897, allocations: 295.5 kB / 0.6468 GB, free: 156 kB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.593e-05/0.1898, allocations: 99.94 kB / 0.6469 GB, free: 56 kB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007047/0.1905, allocations: 0.6427 MB / 0.6476 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.672e-05/0.1905, allocations: 0 / 0.6476 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.354e-05/0.1906, allocations: 36 kB / 0.6476 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.433e-05/0.1906, allocations: 20 kB / 0.6476 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000329/0.1909, allocations: 234.2 kB / 0.6478 GB, free: 15.09 MB / 0.6198 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.002307/0.1932, allocations: 2.165 MB / 0.65 GB, free: 12.86 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001928/0.1934, allocations: 112.1 kB / 0.6501 GB, free: 12.74 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.135e-05/0.1935, allocations: 51.66 kB / 0.6501 GB, free: 12.68 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000244/0.1937, allocations: 95.94 kB / 0.6502 GB, free: 12.59 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/0.1937, allocations: 34.56 kB / 0.6502 GB, free: 12.55 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=24): time 1.703e-06/0.1937, allocations: 0 / 0.6502 GB, free: 12.55 MB / 0.6198 GB Notification: Performance of matching and sorting (n=24): time 0.0004188/0.1942, allocations: 205.3 kB / 0.6504 GB, free: 12.34 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.965e-05/0.1942, allocations: 51.41 kB / 0.6505 GB, free: 12.28 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004042/0.1946, allocations: 0.5856 MB / 0.6511 GB, free: 11.68 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.632e-05/0.1946, allocations: 33.7 kB / 0.6511 GB, free: 11.64 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004389/0.1951, allocations: 477.3 kB / 0.6515 GB, free: 11.17 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.464e-05/0.1951, allocations: 83.22 kB / 0.6516 GB, free: 11.09 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001118/0.1952, allocations: 102 kB / 0.6517 GB, free: 10.98 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001071/0.1953, allocations: 378.6 kB / 0.6521 GB, free: 10.61 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.7e-05/0.1954, allocations: 39.81 kB / 0.6521 GB, free: 10.56 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002735/0.1957, allocations: 0.6168 MB / 0.6527 GB, free: 9.754 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002529/0.1959, allocations: 313.7 kB / 0.653 GB, free: 9.355 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.861e-06/0.1959, allocations: 7.984 kB / 0.653 GB, free: 9.348 MB / 0.6198 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0003418/0.1963, allocations: 288.2 kB / 0.6533 GB, free: 9.055 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.066e-05/0.1963, allocations: 12.67 kB / 0.6533 GB, free: 9.043 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.084e-05/0.1963, allocations: 8 kB / 0.6533 GB, free: 9.035 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.652e-05/0.1963, allocations: 12 kB / 0.6533 GB, free: 9.023 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000189/0.1965, allocations: 83.84 kB / 0.6534 GB, free: 8.941 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.066e-05/0.1965, allocations: 15.92 kB / 0.6534 GB, free: 8.926 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002296/0.1968, allocations: 51.61 kB / 0.6535 GB, free: 8.875 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.599e-05/0.1968, allocations: 23.94 kB / 0.6535 GB, free: 8.852 MB / 0.6198 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.0001646/0.197, allocations: 144.5 kB / 0.6536 GB, free: 8.699 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.929e-05/0.197, allocations: 47.95 kB / 0.6537 GB, free: 8.652 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003125/0.1973, allocations: 238.1 kB / 0.6539 GB, free: 8.41 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/0.1973, allocations: 4 kB / 0.6539 GB, free: 8.406 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.303e-06/0.1973, allocations: 0 / 0.6539 GB, free: 8.406 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.1973, allocations: 7.922 kB / 0.6539 GB, free: 8.398 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009362/0.1983, allocations: 0.9138 MB / 0.6548 GB, free: 7.383 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.153e-06/0.1983, allocations: 4 kB / 0.6548 GB, free: 7.379 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.218e-05/0.1984, allocations: 39.92 kB / 0.6549 GB, free: 7.34 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.392e-06/0.1984, allocations: 8 kB / 0.6549 GB, free: 7.332 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.484e-05/0.1984, allocations: 11.98 kB / 0.6549 GB, free: 7.32 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.551e-06/0.1984, allocations: 12 kB / 0.6549 GB, free: 7.309 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/0.1984, allocations: 8.5 kB / 0.6549 GB, free: 7.301 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002975/0.1987, allocations: 463.6 kB / 0.6553 GB, free: 6.758 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001149/0.1988, allocations: 99.66 kB / 0.6554 GB, free: 6.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.258e-05/0.1989, allocations: 15.94 kB / 0.6555 GB, free: 6.645 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001271/0.199, allocations: 8 kB / 0.6555 GB, free: 6.637 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.389e-05/0.199, allocations: 35.83 kB / 0.6555 GB, free: 6.602 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.629e-05/0.199, allocations: 11.98 kB / 0.6555 GB, free: 6.59 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002032/0.1992, allocations: 280.5 kB / 0.6558 GB, free: 6.316 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5.1e-08/0.1992, allocations: 4 kB / 0.6558 GB, free: 6.312 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0006552/0.1999, allocations: 315 kB / 0.6561 GB, free: 6.004 MB / 0.6198 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.0003985/0.2003, allocations: 223.9 kB / 0.6563 GB, free: 5.773 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002714/0.2006, allocations: 178.1 kB / 0.6565 GB, free: 5.598 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.404e-05/0.2006, allocations: 8 kB / 0.6565 GB, free: 5.59 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 9.038e-05/0.2007, allocations: 78.12 kB / 0.6565 GB, free: 5.512 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007462/0.2014, allocations: 285.4 kB / 0.6568 GB, free: 5.254 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002266/0.2037, allocations: 1.481 MB / 0.6583 GB, free: 3.672 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001462/0.2038, allocations: 205.7 kB / 0.6585 GB, free: 3.449 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0003152/0.2041, allocations: 110.2 kB / 0.6586 GB, free: 3.348 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003638/0.2045, allocations: 247.1 kB / 0.6588 GB, free: 3.105 MB / 0.6198 GB Notification: Performance of SimCode: time 1.843e-06/0.2045, allocations: 0 / 0.6588 GB, free: 3.105 MB / 0.6198 GB Notification: Performance of Templates: time 0.01664/0.2211, allocations: 12.12 MB / 0.6706 GB, free: 7.355 MB / 0.6355 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: 4.41632467508316]