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.0007402/0.0007402, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00116/0.0019, 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.0007529/0.0007529, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001041/0.001794, 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 0.9864/0.9864, allocations: 177.2 MB / 189.7 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08901/1.075, 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-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.8193/0.8193, allocations: 155.3 MB / 399.5 MB, free: 15.82 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.3053/1.125, allocations: 49.13 MB / 448.6 MB, free: 5.934 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.653e-06/1.653e-06, allocations: 0 / 450 MB, free: 4.617 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.573e-05/2.738e-05, allocations: 4.562 kB / 450 MB, free: 4.613 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.1638/0.1639, allocations: 161.4 MB / 0.597 GB, free: 3.121 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.007152/0.171, allocations: 5.579 MB / 0.6025 GB, free: 13.53 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009292/0.1719, allocations: 79.31 kB / 0.6025 GB, free: 13.45 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.001013/0.1729, allocations: 0.5856 MB / 0.6031 GB, free: 12.86 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.002086/0.175, allocations: 1.235 MB / 0.6043 GB, free: 11.62 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.003074/0.1781, allocations: 1.681 MB / 0.606 GB, free: 9.934 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.002794/0.1809, allocations: 2.703 MB / 0.6086 GB, free: 7.227 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001193/0.1821, allocations: 0.9757 MB / 0.6095 GB, free: 6.203 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001648/0.1837, allocations: 1.468 MB / 0.611 GB, free: 4.734 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009071/0.1847, allocations: 0.7595 MB / 0.6117 GB, free: 3.973 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 0.0001024/0.1848, allocations: 108 kB / 0.6118 GB, free: 3.867 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001469/0.1862, allocations: 1.021 MB / 0.6128 GB, free: 2.844 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0002311/0.1865, allocations: 346.9 kB / 0.6132 GB, free: 2.504 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0002875/0.1867, allocations: 371.3 kB / 0.6135 GB, free: 2.141 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.001235/0.188, allocations: 1.351 MB / 0.6148 GB, free: 0.7852 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.316e-05/0.188, allocations: 0 / 0.6148 GB, free: 0.7852 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.344e-06/0.188, allocations: 0 / 0.6148 GB, free: 0.7852 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 1.339e-05/0.188, allocations: 0 / 0.6148 GB, free: 0.7852 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.001331/0.1893, allocations: 1.674 MB / 0.6165 GB, free: 15.07 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.182e-05/0.1894, allocations: 12.03 kB / 0.6165 GB, free: 15.06 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006437/0.19, allocations: 380.4 kB / 0.6168 GB, free: 14.67 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007717/0.1908, allocations: 0.7233 MB / 0.6175 GB, free: 13.92 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001515/0.1909, allocations: 287.6 kB / 0.6178 GB, free: 13.59 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.627e-05/0.191, allocations: 99.92 kB / 0.6179 GB, free: 13.49 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006094/0.1916, allocations: 0.6347 MB / 0.6185 GB, free: 12.82 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.376e-05/0.1916, allocations: 0 / 0.6185 GB, free: 12.82 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.895e-05/0.1917, allocations: 36 kB / 0.6186 GB, free: 12.79 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.444e-05/0.1917, allocations: 24 kB / 0.6186 GB, free: 12.77 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002807/0.192, allocations: 234.2 kB / 0.6188 GB, free: 12.53 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.00177/0.1937, allocations: 2.181 MB / 0.6209 GB, free: 10.29 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001616/0.1939, allocations: 116.1 kB / 0.621 GB, free: 10.17 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.287e-05/0.194, allocations: 47.67 kB / 0.6211 GB, free: 10.12 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001833/0.1941, allocations: 103.9 kB / 0.6212 GB, free: 10.02 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.141e-05/0.1942, allocations: 34.56 kB / 0.6212 GB, free: 9.973 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=24): time 1.483e-06/0.1942, allocations: 0 / 0.6212 GB, free: 9.973 MB / 0.6042 GB Notification: Performance of matching and sorting (n=24): time 0.0003428/0.1945, allocations: 193.3 kB / 0.6214 GB, free: 9.777 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.266e-05/0.1945, allocations: 59.34 kB / 0.6215 GB, free: 9.707 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003517/0.1949, allocations: 0.5818 MB / 0.622 GB, free: 9.113 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.195e-05/0.1949, allocations: 33.7 kB / 0.6221 GB, free: 9.074 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001874/0.1951, allocations: 469.3 kB / 0.6225 GB, free: 8.605 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.313e-05/0.1951, allocations: 91.2 kB / 0.6226 GB, free: 8.516 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.166e-05/0.1952, allocations: 94.11 kB / 0.6227 GB, free: 8.418 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001297/0.1954, allocations: 378.6 kB / 0.6231 GB, free: 8.039 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.476e-05/0.1954, allocations: 39.8 kB / 0.6231 GB, free: 7.996 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000291/0.1957, allocations: 0.6285 MB / 0.6237 GB, free: 7.176 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000252/0.196, allocations: 329.7 kB / 0.624 GB, free: 6.762 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.357e-06/0.196, allocations: 0 / 0.624 GB, free: 6.762 MB / 0.6042 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0002925/0.1963, allocations: 292.6 kB / 0.6243 GB, free: 6.465 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.1963, allocations: 8 kB / 0.6243 GB, free: 6.457 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.1963, allocations: 4 kB / 0.6243 GB, free: 6.453 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.1963, allocations: 8 kB / 0.6243 GB, free: 6.445 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002193/0.1965, allocations: 107.8 kB / 0.6244 GB, free: 6.34 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.117e-06/0.1965, allocations: 19.88 kB / 0.6244 GB, free: 6.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001972/0.1967, allocations: 47.67 kB / 0.6245 GB, free: 6.273 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.045e-05/0.1968, allocations: 24.17 kB / 0.6245 GB, free: 6.25 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.0001359/0.1969, allocations: 148.5 kB / 0.6247 GB, free: 6.094 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.008e-05/0.197, allocations: 47.94 kB / 0.6247 GB, free: 6.047 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002637/0.1972, allocations: 233.2 kB / 0.6249 GB, free: 5.809 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.844e-06/0.1972, allocations: 7.984 kB / 0.6249 GB, free: 5.801 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.795e-06/0.1972, allocations: 3.938 kB / 0.6249 GB, free: 5.797 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.1972, allocations: 0 / 0.6249 GB, free: 5.797 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008823/0.1981, allocations: 0.922 MB / 0.6258 GB, free: 4.77 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.04e-06/0.1981, allocations: 4.062 kB / 0.6258 GB, free: 4.766 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.755e-05/0.1982, allocations: 55.91 kB / 0.6259 GB, free: 4.711 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001002/0.1983, allocations: 95.42 kB / 0.626 GB, free: 4.617 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.679e-06/0.1983, allocations: 4 kB / 0.626 GB, free: 4.613 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.212e-05/0.1983, allocations: 15.94 kB / 0.626 GB, free: 4.598 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.308e-06/0.1983, allocations: 7.984 kB / 0.626 GB, free: 4.59 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/0.1983, allocations: 7.938 kB / 0.626 GB, free: 4.582 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000245/0.1986, allocations: 448.4 kB / 0.6264 GB, free: 4.051 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.175e-05/0.1986, allocations: 19.98 kB / 0.6265 GB, free: 4.031 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001306/0.1988, allocations: 8 kB / 0.6265 GB, free: 4.023 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.983e-05/0.1988, allocations: 31.84 kB / 0.6265 GB, free: 3.992 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.441e-05/0.1988, allocations: 8.281 kB / 0.6265 GB, free: 3.984 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001937/0.199, allocations: 288.5 kB / 0.6268 GB, free: 3.707 MB / 0.6042 GB Notification: Performance of sort global known variables: time 5e-08/0.199, allocations: 0 / 0.6268 GB, free: 3.707 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004377/0.1994, allocations: 315 kB / 0.6271 GB, free: 3.398 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.000275/0.1997, allocations: 233.9 kB / 0.6273 GB, free: 3.16 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000255/0.2, allocations: 181.3 kB / 0.6275 GB, free: 2.984 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.957e-05/0.2, allocations: 12 kB / 0.6275 GB, free: 2.973 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001774/0.2002, allocations: 103.8 kB / 0.6276 GB, free: 2.871 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001164/0.2013, allocations: 1.75 MB / 0.6293 GB, free: 0.8242 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005878/0.2072, allocations: 1.547 MB / 0.6308 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001366/0.2073, allocations: 201.8 kB / 0.631 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002445/0.2076, allocations: 104.8 kB / 0.6311 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003396/0.2079, allocations: 231.1 kB / 0.6313 GB, free: 14.63 MB / 0.6198 GB Notification: Performance of SimCode: time 1.352e-06/0.2079, allocations: 0 / 0.6313 GB, free: 14.63 MB / 0.6198 GB Notification: Performance of Templates: time 0.01643/0.2244, allocations: 12.81 MB / 0.6438 GB, free: 2.219 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.918251035735011]