Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutlet.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.0006513/0.0006513, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008448/0.001496, 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.0006687/0.0006687, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008147/0.001483, 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.9807/0.9807, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09283/1.074, allocations: 53.65 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-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.8002/0.8002, allocations: 155.3 MB / 399.2 MB, free: 15.93 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.3024/1.103, allocations: 49.14 MB / 448.4 MB, free: 6.02 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.AirToOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutlet") translateModel(IDEAS.Fluid.FMI.Conversion.Validation.AirToOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutlet") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 0.5469 kB / 449.7 MB, free: 4.734 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.809e-05/2.989e-05, allocations: 4.281 kB / 449.7 MB, free: 4.73 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Conversion.Validation.AirToOutlet): time 0.1508/0.1509, allocations: 149.6 MB / 0.5852 GB, free: 15.07 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.001106/0.152, allocations: 0.6035 MB / 0.5858 GB, free: 14.47 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000189/0.1521, allocations: 7.938 kB / 0.5858 GB, free: 14.46 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.0003199/0.1525, allocations: 131 kB / 0.586 GB, free: 14.33 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.000226/0.1527, allocations: 99.3 kB / 0.5861 GB, free: 14.23 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.00108/0.1538, allocations: 0.5329 MB / 0.5866 GB, free: 13.7 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.0004406/0.1542, allocations: 417.8 kB / 0.587 GB, free: 13.29 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002086/0.1544, allocations: 98.83 kB / 0.5871 GB, free: 13.18 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000347/0.1548, allocations: 243.1 kB / 0.5873 GB, free: 12.95 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002006/0.155, allocations: 127.6 kB / 0.5874 GB, free: 12.82 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 3.187e-05/0.155, allocations: 16 kB / 0.5874 GB, free: 12.81 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006915/0.1557, allocations: 390.7 kB / 0.5878 GB, free: 12.43 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 9.837e-05/0.1558, allocations: 63.78 kB / 0.5879 GB, free: 12.36 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 7.055e-05/0.1559, allocations: 55.88 kB / 0.5879 GB, free: 12.31 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.0004754/0.1563, allocations: 346.8 kB / 0.5883 GB, free: 11.97 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 1.802e-05/0.1564, allocations: 0 / 0.5883 GB, free: 11.97 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.543e-06/0.1564, allocations: 0 / 0.5883 GB, free: 11.97 MB / 0.573 GB Notification: Performance of Transformations before backend: time 1.834e-05/0.1564, allocations: 0 / 0.5883 GB, free: 11.97 MB / 0.573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.0005292/0.1569, allocations: 495.8 kB / 0.5887 GB, free: 11.46 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.341e-05/0.1569, allocations: 8.031 kB / 0.5887 GB, free: 11.45 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002719/0.1572, allocations: 150 kB / 0.5889 GB, free: 11.29 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002391/0.1574, allocations: 185.4 kB / 0.5891 GB, free: 11.08 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001284/0.1576, allocations: 246 kB / 0.5893 GB, free: 10.79 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.896e-05/0.1576, allocations: 20 kB / 0.5893 GB, free: 10.77 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002513/0.1578, allocations: 246.6 kB / 0.5895 GB, free: 10.49 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.1579, allocations: 8 kB / 0.5896 GB, free: 10.48 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.062e-05/0.1579, allocations: 8 kB / 0.5896 GB, free: 10.48 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.759e-06/0.1579, allocations: 8 kB / 0.5896 GB, free: 10.47 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.311e-05/0.158, allocations: 76.67 kB / 0.5896 GB, free: 10.39 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008145/0.1588, allocations: 1.33 MB / 0.5909 GB, free: 9.012 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 7.581e-05/0.1589, allocations: 169.1 kB / 0.5911 GB, free: 8.836 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.338e-05/0.1589, allocations: 84.14 kB / 0.5912 GB, free: 8.75 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.179e-05/0.1589, allocations: 75.28 kB / 0.5913 GB, free: 8.676 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.302e-05/0.159, allocations: 117.8 kB / 0.5914 GB, free: 8.551 MB / 0.573 GB Notification: Performance of pre-optimization done (n=0): time 1.292e-06/0.159, allocations: 0 / 0.5914 GB, free: 8.551 MB / 0.573 GB Notification: Performance of matching and sorting (n=0): time 6.768e-05/0.159, allocations: 37.62 kB / 0.5914 GB, free: 8.508 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.741e-05/0.1591, allocations: 126.7 kB / 0.5915 GB, free: 8.371 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001519/0.1592, allocations: 200 kB / 0.5917 GB, free: 8.164 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 7.474e-06/0.1592, allocations: 25.7 kB / 0.5917 GB, free: 8.133 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 8.359e-05/0.1593, allocations: 199.6 kB / 0.5919 GB, free: 7.934 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 9.017e-06/0.1593, allocations: 4 kB / 0.5919 GB, free: 7.93 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.35e-05/0.1594, allocations: 49.64 kB / 0.592 GB, free: 7.875 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001902/0.1596, allocations: 326.8 kB / 0.5923 GB, free: 7.547 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.687e-05/0.1596, allocations: 11.98 kB / 0.5923 GB, free: 7.535 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.847e-05/0.1597, allocations: 143.5 kB / 0.5924 GB, free: 7.336 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001324/0.1598, allocations: 175.8 kB / 0.5926 GB, free: 7.102 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.1598, allocations: 0 / 0.5926 GB, free: 7.102 MB / 0.573 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001797/0.16, allocations: 149.4 kB / 0.5927 GB, free: 6.949 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/0.16, allocations: 9.344 kB / 0.5928 GB, free: 6.941 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.235e-06/0.16, allocations: 11.94 kB / 0.5928 GB, free: 6.93 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.16, allocations: 4 kB / 0.5928 GB, free: 6.926 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000125/0.1602, allocations: 39.92 kB / 0.5928 GB, free: 6.887 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.112e-05/0.1602, allocations: 15.92 kB / 0.5928 GB, free: 6.871 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.786e-05/0.1603, allocations: 28.19 kB / 0.5929 GB, free: 6.844 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.904e-05/0.1603, allocations: 12 kB / 0.5929 GB, free: 6.832 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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 9.809e-05/0.1604, allocations: 195.9 kB / 0.593 GB, free: 6.629 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.537e-05/0.1604, allocations: 121 kB / 0.5932 GB, free: 6.504 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.899e-05/0.1605, allocations: 117.4 kB / 0.5933 GB, free: 6.387 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.601e-05/0.1605, allocations: 176.3 kB / 0.5934 GB, free: 6.207 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.145e-05/0.1606, allocations: 184.2 kB / 0.5936 GB, free: 6.02 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.712e-05/0.1606, allocations: 188.2 kB / 0.5938 GB, free: 5.828 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001953/0.1608, allocations: 349.4 kB / 0.5941 GB, free: 5.461 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.41e-05/0.1609, allocations: 112.9 kB / 0.5942 GB, free: 5.344 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.008e-05/0.1609, allocations: 101 kB / 0.5943 GB, free: 5.238 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 5.428e-05/0.1609, allocations: 116.9 kB / 0.5944 GB, free: 5.117 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.902e-05/0.161, allocations: 180.2 kB / 0.5946 GB, free: 4.934 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.362e-05/0.161, allocations: 188.2 kB / 0.5948 GB, free: 4.742 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.989e-05/0.1611, allocations: 184.2 kB / 0.595 GB, free: 4.555 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.209e-05/0.1611, allocations: 180.3 kB / 0.5951 GB, free: 4.371 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001236/0.1613, allocations: 307.8 kB / 0.5954 GB, free: 4.047 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.201e-05/0.1613, allocations: 176.3 kB / 0.5956 GB, free: 3.867 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.435e-05/0.1614, allocations: 116.9 kB / 0.5957 GB, free: 3.746 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.495e-05/0.1615, allocations: 180.3 kB / 0.5959 GB, free: 3.562 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.38e-05/0.1615, allocations: 105 kB / 0.596 GB, free: 3.453 MB / 0.573 GB Notification: Performance of sorting global known variables: time 6.487e-05/0.1615, allocations: 63.86 kB / 0.5961 GB, free: 3.391 MB / 0.573 GB Notification: Performance of sort global known variables: time 6e-08/0.1615, allocations: 0 / 0.5961 GB, free: 3.391 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0002676/0.1618, allocations: 63.78 kB / 0.5961 GB, free: 3.328 MB / 0.573 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 (0): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 0.0002025/0.162, allocations: 179.6 kB / 0.5963 GB, free: 3.141 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0001189/0.1621, allocations: 60.92 kB / 0.5963 GB, free: 3.078 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 9.098e-06/0.1621, allocations: 4 kB / 0.5963 GB, free: 3.074 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 8.12e-07/0.1621, allocations: 1.25 kB / 0.5963 GB, free: 3.074 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002397/0.1624, allocations: 490.2 kB / 0.5968 GB, free: 2.598 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001156/0.1635, allocations: 398.8 kB / 0.5972 GB, free: 2.184 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.549e-05/0.1636, allocations: 79.67 kB / 0.5973 GB, free: 2.086 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 6.54e-05/0.1636, allocations: 21.48 kB / 0.5973 GB, free: 2.066 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.503e-05/0.1637, allocations: 59.38 kB / 0.5973 GB, free: 2.008 MB / 0.573 GB Notification: Performance of SimCode: time 9.62e-07/0.1637, allocations: 0 / 0.5973 GB, free: 2.008 MB / 0.573 GB Notification: Performance of Templates: time 0.003508/0.1672, allocations: 1.332 MB / 0.5987 GB, free: 0.6992 MB / 0.573 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutlet.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutlet.sim & ./IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutlet -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6330134784802794]