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.001443/0.001443, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001334/0.001334, allocations: 177 kB / 23.36 MB, free: 1.129 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.064/1.064, allocations: 177.1 MB / 203.8 MB, free: 5.477 MB / 186.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.8047/0.8047, allocations: 154.6 MB / 414.8 MB, free: 492 kB / 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 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.763e-06/1.763e-06, allocations: 0.9844 kB / 480 MB, free: 6.836 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.152e-05/2.328e-05, allocations: 3.219 kB / 480.1 MB, free: 6.832 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.158/0.158, allocations: 160.9 MB / 0.6259 GB, free: 5.797 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.008079/0.1661, allocations: 5.558 MB / 0.6313 GB, free: 228 kB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009932/0.1671, allocations: 75.38 kB / 0.6314 GB, free: 152 kB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.001248/0.1684, allocations: 0.5584 MB / 0.632 GB, free: 15.59 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.002238/0.1706, allocations: 1.247 MB / 0.6332 GB, free: 14.33 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.00327/0.1739, allocations: 1.694 MB / 0.6348 GB, free: 12.63 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0031/0.177, allocations: 2.703 MB / 0.6375 GB, free: 9.922 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001052/0.178, allocations: 0.9679 MB / 0.6384 GB, free: 8.898 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00137/0.1794, allocations: 1.418 MB / 0.6398 GB, free: 7.477 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007228/0.1801, allocations: 0.7634 MB / 0.6405 GB, free: 6.711 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0001039/0.1802, allocations: 108 kB / 0.6406 GB, free: 6.605 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001483/0.1817, allocations: 1.013 MB / 0.6416 GB, free: 5.59 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0002457/0.1819, allocations: 406.6 kB / 0.642 GB, free: 5.191 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0002984/0.1822, allocations: 435.1 kB / 0.6424 GB, free: 4.766 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.00158/0.1838, allocations: 1.483 MB / 0.6439 GB, free: 3.273 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.055e-06/0.1838, allocations: 0 / 0.6439 GB, free: 3.273 MB / 0.6042 GB Notification: Performance of FrontEnd: time 8.52e-07/0.1838, allocations: 0 / 0.6439 GB, free: 3.273 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.735e-06/0.1838, allocations: 0 / 0.6439 GB, free: 3.273 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.00102/0.1849, allocations: 1.381 MB / 0.6452 GB, free: 1.863 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 2.498e-05/0.1849, allocations: 8.031 kB / 0.6452 GB, free: 1.855 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005868/0.1855, allocations: 291.4 kB / 0.6455 GB, free: 1.57 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000744/0.1862, allocations: 0.7233 MB / 0.6462 GB, free: 0.8164 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002579/0.1865, allocations: 291.6 kB / 0.6465 GB, free: 496 kB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001686/0.1866, allocations: 88 kB / 0.6466 GB, free: 408 kB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009579/0.1876, allocations: 0.6388 MB / 0.6472 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.983e-05/0.1876, allocations: 4 kB / 0.6472 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.446e-05/0.1877, allocations: 39.94 kB / 0.6473 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.838e-05/0.1877, allocations: 24 kB / 0.6473 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004159/0.1881, allocations: 238.2 kB / 0.6475 GB, free: 15.42 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.00282/0.1909, allocations: 2.161 MB / 0.6496 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000216/0.1911, allocations: 120.1 kB / 0.6497 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.539e-05/0.1912, allocations: 43.67 kB / 0.6498 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002684/0.1915, allocations: 99.86 kB / 0.6499 GB, free: 12.92 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.606e-05/0.1915, allocations: 38.58 kB / 0.6499 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=24): time 2.365e-06/0.1915, allocations: 8 kB / 0.6499 GB, free: 12.87 MB / 0.6198 GB Notification: Performance of matching and sorting (n=24): time 0.0005209/0.192, allocations: 185.4 kB / 0.6501 GB, free: 12.68 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.028e-05/0.1921, allocations: 59.41 kB / 0.6501 GB, free: 12.61 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005366/0.1926, allocations: 0.5895 MB / 0.6507 GB, free: 12.01 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.87e-05/0.1926, allocations: 29.7 kB / 0.6507 GB, free: 11.98 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002533/0.1929, allocations: 473.3 kB / 0.6512 GB, free: 11.51 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 6.077e-05/0.1929, allocations: 83.27 kB / 0.6513 GB, free: 11.43 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001304/0.1931, allocations: 102 kB / 0.6514 GB, free: 11.32 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001475/0.1932, allocations: 382.6 kB / 0.6517 GB, free: 10.94 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.42e-05/0.1933, allocations: 35.81 kB / 0.6518 GB, free: 10.9 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000369/0.1937, allocations: 0.6207 MB / 0.6524 GB, free: 10.09 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000587/0.1943, allocations: 321.7 kB / 0.6527 GB, free: 9.68 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.1943, allocations: 0 / 0.6527 GB, free: 9.68 MB / 0.6198 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.000415/0.1947, allocations: 292.2 kB / 0.653 GB, free: 9.383 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.909e-05/0.1947, allocations: 8 kB / 0.653 GB, free: 9.375 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/0.1947, allocations: 4 kB / 0.653 GB, free: 9.371 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.889e-05/0.1947, allocations: 8.688 kB / 0.653 GB, free: 9.363 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002977/0.195, allocations: 103.8 kB / 0.6531 GB, free: 9.262 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.272e-05/0.195, allocations: 15.88 kB / 0.6531 GB, free: 9.246 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003154/0.1954, allocations: 47.67 kB / 0.6531 GB, free: 9.199 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.708e-05/0.1954, allocations: 23.98 kB / 0.6532 GB, free: 9.176 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.000172/0.1956, allocations: 144.5 kB / 0.6533 GB, free: 9.023 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.481e-05/0.1957, allocations: 52.22 kB / 0.6534 GB, free: 8.973 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003722/0.196, allocations: 236.4 kB / 0.6536 GB, free: 8.734 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.346e-06/0.196, allocations: 7.984 kB / 0.6536 GB, free: 8.727 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.654e-06/0.196, allocations: 0 / 0.6536 GB, free: 8.727 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.531e-06/0.196, allocations: 3.938 kB / 0.6536 GB, free: 8.723 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001253/0.1973, allocations: 0.9178 MB / 0.6545 GB, free: 7.703 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.382e-06/0.1973, allocations: 4 kB / 0.6545 GB, free: 7.699 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001245/0.1974, allocations: 43.92 kB / 0.6545 GB, free: 7.656 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.033e-06/0.1974, allocations: 4 kB / 0.6545 GB, free: 7.652 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.694e-05/0.1974, allocations: 12 kB / 0.6546 GB, free: 7.641 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.44e-06/0.1975, allocations: 4 kB / 0.6546 GB, free: 7.637 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.691e-06/0.1975, allocations: 7.938 kB / 0.6546 GB, free: 7.629 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003276/0.1978, allocations: 464.6 kB / 0.655 GB, free: 7.082 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001399/0.1979, allocations: 99.39 kB / 0.6551 GB, free: 6.984 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.889e-05/0.198, allocations: 15.92 kB / 0.6551 GB, free: 6.969 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002072/0.1982, allocations: 8 kB / 0.6551 GB, free: 6.961 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.98e-05/0.1982, allocations: 27.84 kB / 0.6551 GB, free: 6.934 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.265e-05/0.1983, allocations: 20.06 kB / 0.6552 GB, free: 6.914 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002679/0.1985, allocations: 284.5 kB / 0.6554 GB, free: 6.637 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.1985, allocations: 0 / 0.6554 GB, free: 6.637 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0007511/0.1993, allocations: 319 kB / 0.6557 GB, free: 6.324 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.0003397/0.1996, allocations: 214.6 kB / 0.6559 GB, free: 6.105 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000287/0.1999, allocations: 183 kB / 0.6561 GB, free: 5.926 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.495e-05/0.1999, allocations: 8 kB / 0.6561 GB, free: 5.918 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001038/0.2, allocations: 76.62 kB / 0.6562 GB, free: 5.84 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008921/0.2009, allocations: 287.3 kB / 0.6565 GB, free: 5.582 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002297/0.2032, allocations: 1.485 MB / 0.6579 GB, free: 3.996 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001754/0.2034, allocations: 205.8 kB / 0.6581 GB, free: 3.773 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0003679/0.2037, allocations: 111.8 kB / 0.6582 GB, free: 3.668 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004671/0.2042, allocations: 239.1 kB / 0.6585 GB, free: 3.434 MB / 0.6198 GB Notification: Performance of SimCode: time 7.92e-07/0.2042, allocations: 0 / 0.6585 GB, free: 3.434 MB / 0.6198 GB Notification: Performance of Templates: time 0.01982/0.224, allocations: 12.12 MB / 0.6703 GB, free: 7.68 MB / 0.6355 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.470250368118286]