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.000794/0.000794, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001132/0.001926, allocations: 440 kB / 10.41 MB, free: 284 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.0006981/0.0006981, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009304/0.001628, allocations: 475.6 kB / 11.79 MB, free: 2.375 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 1.019/1.019, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1018/1.12, allocations: 53.66 MB / 243.4 MB, free: 15.5 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.8042/0.8042, allocations: 154.6 MB / 398.8 MB, free: 388 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. Notification: Performance of NFInstanceAPI.mkTop(): time 0.3067/1.111, allocations: 49.05 MB / 447.8 MB, free: 6.594 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 2.585e-06/2.585e-06, allocations: 1.094 kB / 449.2 MB, free: 5.273 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.561e-05/2.819e-05, allocations: 4.984 kB / 449.2 MB, free: 5.27 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.1596/0.1596, allocations: 161.4 MB / 0.5962 GB, free: 3.789 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.007644/0.1672, allocations: 5.573 MB / 0.6017 GB, free: 14.2 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008753/0.1681, allocations: 75.38 kB / 0.6017 GB, free: 14.12 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0009072/0.169, allocations: 0.5894 MB / 0.6023 GB, free: 13.53 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.001844/0.1709, allocations: 1.243 MB / 0.6035 GB, free: 12.28 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.002625/0.1735, allocations: 1.671 MB / 0.6052 GB, free: 10.61 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.002565/0.176, allocations: 2.699 MB / 0.6078 GB, free: 7.902 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001082/0.1771, allocations: 0.9757 MB / 0.6088 GB, free: 6.879 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001489/0.1786, allocations: 1.472 MB / 0.6102 GB, free: 5.402 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008079/0.1794, allocations: 0.7556 MB / 0.6109 GB, free: 4.645 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 0.0001151/0.1795, allocations: 111.9 kB / 0.611 GB, free: 4.535 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001399/0.1809, allocations: 1.013 MB / 0.612 GB, free: 3.52 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0002299/0.1812, allocations: 347 kB / 0.6124 GB, free: 3.18 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0003279/0.1815, allocations: 379.2 kB / 0.6127 GB, free: 2.809 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.001444/0.1829, allocations: 1.351 MB / 0.614 GB, free: 1.453 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 9.889e-06/0.183, allocations: 4 kB / 0.614 GB, free: 1.449 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.843e-06/0.183, allocations: 4 kB / 0.614 GB, free: 1.445 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 1.938e-05/0.183, allocations: 0 / 0.614 GB, free: 1.445 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.001379/0.1844, allocations: 1.663 MB / 0.6157 GB, free: 15.75 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 2.739e-05/0.1844, allocations: 8.031 kB / 0.6157 GB, free: 15.74 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000668/0.185, allocations: 388.3 kB / 0.6161 GB, free: 15.34 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008116/0.1859, allocations: 0.7194 MB / 0.6168 GB, free: 14.59 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001328/0.186, allocations: 291.6 kB / 0.617 GB, free: 14.26 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.912e-05/0.1861, allocations: 88 kB / 0.6171 GB, free: 14.17 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005781/0.1866, allocations: 0.6385 MB / 0.6177 GB, free: 13.5 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.479e-05/0.1867, allocations: 0 / 0.6177 GB, free: 13.5 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.912e-05/0.1867, allocations: 36 kB / 0.6178 GB, free: 13.46 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.361e-05/0.1867, allocations: 24 kB / 0.6178 GB, free: 13.44 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002823/0.187, allocations: 238.2 kB / 0.618 GB, free: 13.2 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.002032/0.189, allocations: 2.181 MB / 0.6202 GB, free: 10.96 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001615/0.1892, allocations: 116.1 kB / 0.6203 GB, free: 10.84 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.861e-05/0.1892, allocations: 51.64 kB / 0.6203 GB, free: 10.79 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001943/0.1894, allocations: 99.94 kB / 0.6204 GB, free: 10.69 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.912e-05/0.1895, allocations: 30.56 kB / 0.6204 GB, free: 10.65 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=24): time 2.124e-06/0.1895, allocations: 3.984 kB / 0.6204 GB, free: 10.64 MB / 0.6042 GB Notification: Performance of matching and sorting (n=24): time 0.0003451/0.1898, allocations: 197.3 kB / 0.6206 GB, free: 10.45 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.559e-05/0.1898, allocations: 63.34 kB / 0.6207 GB, free: 10.37 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005325/0.1904, allocations: 0.574 MB / 0.6212 GB, free: 9.785 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.595e-05/0.1904, allocations: 33.7 kB / 0.6213 GB, free: 9.746 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001815/0.1906, allocations: 473.3 kB / 0.6217 GB, free: 9.273 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.312e-05/0.1906, allocations: 95.19 kB / 0.6218 GB, free: 9.18 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.768e-05/0.1907, allocations: 94.11 kB / 0.6219 GB, free: 9.082 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001026/0.1908, allocations: 386.6 kB / 0.6223 GB, free: 8.695 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.619e-05/0.1909, allocations: 31.81 kB / 0.6223 GB, free: 8.664 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002546/0.1911, allocations: 0.6207 MB / 0.6229 GB, free: 7.848 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002506/0.1914, allocations: 329.7 kB / 0.6232 GB, free: 7.434 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.1914, allocations: 8 kB / 0.6232 GB, free: 7.426 MB / 0.6042 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0002995/0.1917, allocations: 292.8 kB / 0.6235 GB, free: 7.129 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.309e-05/0.1917, allocations: 11.98 kB / 0.6235 GB, free: 7.117 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.1917, allocations: 4 kB / 0.6235 GB, free: 7.113 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.1917, allocations: 12 kB / 0.6235 GB, free: 7.102 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000214/0.1919, allocations: 99.83 kB / 0.6236 GB, free: 7.004 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.095e-06/0.1919, allocations: 11.94 kB / 0.6237 GB, free: 6.992 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002051/0.1921, allocations: 55.61 kB / 0.6237 GB, free: 6.938 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.033e-05/0.1922, allocations: 20.22 kB / 0.6237 GB, free: 6.918 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.0001441/0.1923, allocations: 148.5 kB / 0.6239 GB, free: 6.762 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.54e-05/0.1924, allocations: 55.94 kB / 0.6239 GB, free: 6.707 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002733/0.1926, allocations: 234.8 kB / 0.6241 GB, free: 6.473 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.742e-06/0.1926, allocations: 4 kB / 0.6241 GB, free: 6.469 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.474e-06/0.1926, allocations: 3.938 kB / 0.6242 GB, free: 6.465 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.1926, allocations: 3.938 kB / 0.6242 GB, free: 6.461 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008235/0.1935, allocations: 0.9181 MB / 0.6251 GB, free: 5.441 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.232e-06/0.1935, allocations: 4 kB / 0.6251 GB, free: 5.438 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.599e-05/0.1936, allocations: 47.95 kB / 0.6251 GB, free: 5.391 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001017/0.1937, allocations: 95.44 kB / 0.6252 GB, free: 5.293 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.879e-06/0.1937, allocations: 4 kB / 0.6252 GB, free: 5.289 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.424e-05/0.1937, allocations: 15.98 kB / 0.6252 GB, free: 5.273 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.388e-06/0.1937, allocations: 7.938 kB / 0.6252 GB, free: 5.266 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.1937, allocations: 11.94 kB / 0.6252 GB, free: 5.254 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002528/0.1939, allocations: 460.3 kB / 0.6257 GB, free: 4.711 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.989e-05/0.194, allocations: 11.95 kB / 0.6257 GB, free: 4.699 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001293/0.1941, allocations: 12 kB / 0.6257 GB, free: 4.688 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.794e-05/0.1941, allocations: 31.84 kB / 0.6257 GB, free: 4.656 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.382e-05/0.1942, allocations: 12 kB / 0.6257 GB, free: 4.645 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002037/0.1944, allocations: 280.5 kB / 0.626 GB, free: 4.375 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1944, allocations: 4 kB / 0.626 GB, free: 4.371 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004595/0.1948, allocations: 311 kB / 0.6263 GB, free: 4.066 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.0002816/0.1951, allocations: 222.9 kB / 0.6265 GB, free: 3.84 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002175/0.1953, allocations: 191.1 kB / 0.6267 GB, free: 3.652 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.276e-05/0.1953, allocations: 8 kB / 0.6267 GB, free: 3.645 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.000122/0.1955, allocations: 104.1 kB / 0.6268 GB, free: 3.539 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001222/0.1967, allocations: 1.755 MB / 0.6285 GB, free: 1.488 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005822/0.2025, allocations: 1.524 MB / 0.63 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001507/0.2027, allocations: 209.8 kB / 0.6302 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002643/0.2029, allocations: 110.4 kB / 0.6303 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003621/0.2033, allocations: 239.1 kB / 0.6305 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of SimCode: time 1.082e-06/0.2033, allocations: 0 / 0.6305 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of Templates: time 0.01537/0.2186, allocations: 12.79 MB / 0.643 GB, free: 2.875 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.027300731278956]